commit da19a2fd0fbbf44bc5495e68c7f24103d025b3b6
parent 191337d0c3d59aa9a990eb5192664d5c5079f187
Author: Oliver Lowe <o@olowe.co>
Date: Tue, 18 Jan 2022 19:55:59 +1100
Store host state type
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/host.go b/host.go
@@ -10,6 +10,7 @@ type Host struct {
Address6 string `json:"address6"`
Groups []string `json:"groups"`
State HostState `json:"state"`
+ StateType StateType `json:"state_type"`
CheckCommand string `json:"check_command"`
DisplayName string `json:"display_name"`
}