Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove comments
Browse files Browse the repository at this point in the history
AleksandrMatsko committed Jan 16, 2025
1 parent 1ae9e90 commit f1ece26
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions api/dto/triggers.go
Original file line number Diff line number Diff line change
@@ -258,13 +258,6 @@ func (trigger *Trigger) Bind(request *http.Request) error {
return api.ErrInvalidRequestContent{ValidationError: err}
}

//// TODO(litleleprikon): Remove after https://github.com/moira-alert/moira/issues/550 will be resolved
//for _, pattern := range trigger.Patterns {
// if pattern == asteriskPattern {
// return api.ErrInvalidRequestContent{ValidationError: errAsteriskPatternNotAllowed}
// }
//}

if trigger.Schedule == nil {
trigger.Schedule = moira.NewDefaultScheduleData()
} else {

0 comments on commit f1ece26

Please sign in to comment.