Skip to content

Commit

Permalink
edit escalation policy to support multiple responders
Browse files Browse the repository at this point in the history
  • Loading branch information
STLVRTX committed Sep 8, 2022
1 parent 8f72a7b commit f2f64b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 08.09.2022, Version 2.2.2

- add fields for multiple responders in escalation rule (escalation policy)

## 06.09.2022, Version 2.2.1

- fix alert action search method
Expand Down
8 changes: 5 additions & 3 deletions escalationpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ type EscalationPolicy struct {

// EscalationRule definition
type EscalationRule struct {
User *User `json:"user,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
EscalationTimeout int `json:"escalationTimeout"`
User *User `json:"user,omitempty"`
Users []User `json:"users,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
Schedules []Schedule `json:"schedules,omitempty"`
EscalationTimeout int `json:"escalationTimeout"`
}

// CreateEscalationPolicyInput represents the input of a CreateEscalationPolicy operation.
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 = "v2.2.1"
const Version = "v2.2.2"

0 comments on commit f2f64b5

Please sign in to comment.