Skip to content

Commit

Permalink
Remove omitempty json format options on acknowledgement_timeout and a…
Browse files Browse the repository at this point in the history
…uto_resolve_timeout fields to allow disabling (resolves https://github.com/terraform-providers/terraform-provider-pagerduty/issues/41) (PagerDuty#17)
  • Loading branch information
pdecat authored and heimweh committed Oct 20, 2017
1 parent 5659e9c commit 4e8f8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pagerduty/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ type Integration struct {

// Service represents a service.
type Service struct {
AcknowledgementTimeout int `json:"acknowledgement_timeout,omitempty"`
AcknowledgementTimeout int `json:"acknowledgement_timeout"`
Addons []*AddonReference `json:"addons,omitempty"`
AlertCreation string `json:"alert_creation,omitempty"`
AutoResolveTimeout int `json:"auto_resolve_timeout,omitempty"`
AutoResolveTimeout int `json:"auto_resolve_timeout"`
CreatedAt string `json:"created_at,omitempty"`
Description string `json:"description,omitempty"`
EscalationPolicy *EscalationPolicyReference `json:"escalation_policy,omitempty"`
Expand Down

0 comments on commit 4e8f8a6

Please sign in to comment.