Skip to content

Commit

Permalink
Merge pull request #113 from fbarmes/feature/fix-trigger-valuetype
Browse files Browse the repository at this point in the history
trigger.create should not include empty ValueType
  • Loading branch information
devopsjonas authored Jun 12, 2021
2 parents 2789be2 + d0c975a commit cfa9b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zabbixprovisioner/zabbixclient/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Trigger struct {
Comments string `json:"comments"`
URL string `json:"url"`
ManualClose int32 `json:"manual_close"`
Value ValueType `json:""`
Value ValueType `json:",omitempty"`
Priority PriorityType `json:"priority"`
Status StatusType `json:"status"`
Tags []Tag `json:"tags"`
Expand Down

0 comments on commit cfa9b3c

Please sign in to comment.