diff --git a/api/agent.go b/api/agent.go index 17eed81b1..63648fe33 100644 --- a/api/agent.go +++ b/api/agent.go @@ -75,7 +75,7 @@ type AgentServiceCheck struct { TCP string `json:",omitempty"` Status string `json:",omitempty"` Notes string `json:",omitempty"` - TLSSkipVerify string `json:",omitempty"` + TLSSkipVerify bool `json:",omitempty"` // In Consul 0.7 and later, checks that are associated with a service // may also contain this optional DeregisterCriticalServiceAfter field,