Labels response will return json with empty host_id rather than omit (#1078)
This commit is contained in:
@@ -17,7 +17,7 @@ type labelResponse struct {
|
||||
Online uint `json:"online"`
|
||||
Offline uint `json:"offline"`
|
||||
MissingInAction uint `json:"missing_in_action"`
|
||||
HostIDs []uint `json:"host_ids,omitempty"`
|
||||
HostIDs []uint `json:"host_ids"`
|
||||
}
|
||||
|
||||
type getLabelResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user