diff --git a/agent/structs/check_type.go b/agent/structs/check_type.go index 7bd5a425f5b4..7d87ed447101 100644 --- a/agent/structs/check_type.go +++ b/agent/structs/check_type.go @@ -76,6 +76,11 @@ func (t *CheckType) UnmarshalJSON(data []byte) (err error) { DockerContainerIDSnake string `json:"docker_container_id"` TLSSkipVerifySnake bool `json:"tls_skip_verify"` + // These are going to be ignored but since we are disallowing unknown fields + // during parsing we have to be explicit about parsing but not using these. + ServiceID string `json:"ServiceID"` + ServiceIDSnake string `json:"service_id"` + *Alias }{ Alias: (*Alias)(t),