Skip to content

Commit 58cbd35

Browse files
authored
Merge pull request #2 from tacerus/itemerror
Store item errors
2 parents 8650f47 + 99be355 commit 58cbd35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

item.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ package zabbix
44
//
55
// See: https://www.zabbix.com/documentation/4.0/manual/api/reference/item/object
66
type Item struct {
7+
// Error is the error text indicating any problems with updating the item.
8+
Error string `json:"error,omitempty"`
9+
710
// HostID is the unique ID of the Host.
811
HostID string `json:"hostid,omitempty"`
912

0 commit comments

Comments
 (0)