Skip to content

Commit

Permalink
fix escalation policy types
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Oct 22, 2020
1 parent 47189b6 commit e5ef420
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Changelog

## 20.10.2020, Version 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8
## 20.10.2020, Version 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9

- fix alert source type definition
- fix incident type definition
- fix uptime monitor type definition
- fix user type definition
- fix escalation policy type definition
- add auto resolution timeout option to alert source

## 19.10.2020, Version 1.0.0, 1.0.1
Expand Down
8 changes: 4 additions & 4 deletions escalationpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ type EscalationPolicy struct {

// EscalationRule definition
type EscalationRule struct {
User User `json:"user,omitempty"`
Schedule Schedule `json:"schedule,omitempty"`
EscalationTimeout int `json:"escalationTimeout"`
Type string `json:"type,omitempty"`
User *User `json:"user,omitempty"`
Schedule *Schedule `json:"schedule,omitempty"`
EscalationTimeout int `json:"escalationTimeout"`
Type string `json:"type,omitempty"`
}

// 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 = "v1.0.8"
const Version = "v1.0.9"

0 comments on commit e5ef420

Please sign in to comment.