Skip to content

Commit

Permalink
add auto raise incidents prop to support hours
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Apr 14, 2021
1 parent 286e531 commit 25e762a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 14.04.2021, Version 1.5.1

- add auto raise incidents prop to support hours

## 13.04.2021, Version 1.5.0

- add proxy option to the client
Expand Down
5 changes: 3 additions & 2 deletions alertsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ type EmailPredicate struct {

// SupportHours definition
type SupportHours struct {
Timezone string `json:"timezone"`
SupportDays SupportDays `json:"supportDays"`
Timezone string `json:"timezone"`
AutoRaiseIncidents bool `json:"autoRaiseIncidents,omitempty"` // Raise priority of all pending incidents for this alert source to 'high' when support hours begin
SupportDays SupportDays `json:"supportDays"`
}

// SupportDays definition
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ilert

// Version package version
const Version = "v1.2.2"
const Version = "v1.5.1"

0 comments on commit 25e762a

Please sign in to comment.