Skip to content

Commit

Permalink
Added teams to configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Posavec <maposavec@infobip.com>
  • Loading branch information
Marko Posavec committed Aug 25, 2021
1 parent 584f0c0 commit e0f5e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/notifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ type OpsGenieConfig struct {
Priority string `yaml:"priority,omitempty" json:"priority,omitempty"`
}

const opsgenieValidTypesRe = `^(team|user|escalation|schedule)$`
const opsgenieValidTypesRe = `^(team|teams|user|escalation|schedule)$`

var opsgenieTypeMatcher = regexp.MustCompile(opsgenieValidTypesRe)

Expand Down

0 comments on commit e0f5e3c

Please sign in to comment.