Skip to content

Commit

Permalink
Merge pull request #14 from iLert/feature/escalation-rule-multiple-users
Browse files Browse the repository at this point in the history
Feature/escalation rule multiple responders
  • Loading branch information
STLVRTX authored Sep 8, 2022
2 parents 8f72a7b + f2f64b5 commit e0a4648
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 e0a4648

Please sign in to comment.