Skip to content

Commit

Permalink
Timeout of AutoPauseNotificationsParameters can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Jun 10, 2022
1 parent 9642f28 commit b60e050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pagerduty/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type AlertGroupingParameters struct {
// AutoPauseNotificationsParameters defines how alerts on this service are automatically suspended for a period of time before triggering, when identified as likely being transient.
type AutoPauseNotificationsParameters struct {
Enabled bool `json:"enabled"`
Timeout int `json:"timeout"`
Timeout *int `json:"timeout"`
}

// IncidentUrgencyRule is the default urgency for new incidents.
Expand Down

0 comments on commit b60e050

Please sign in to comment.