Skip to content

Commit

Permalink
Zabbix API 2.3 Item.delay is integer
Browse files Browse the repository at this point in the history
  • Loading branch information
fsniper committed Aug 12, 2019
1 parent 9209063 commit c1c94ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zabbixprovisioner/zabbixclient/item.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const (
// https://www.zabbix.com/documentation/2.2/manual/appendix/api/item/definitions
type Item struct {
ItemId string `json:"itemid,omitempty"`
Delay string `json:"delay"`
Delay int `json:"delay"`
HostId string `json:"hostid"`
InterfaceId string `json:"interfaceid,omitempty"`
Key string `json:"key_"`
Expand Down

0 comments on commit c1c94ca

Please sign in to comment.