diff --git a/api/agent.go b/api/agent.go index 0422a2842..84962da0a 100644 --- a/api/agent.go +++ b/api/agent.go @@ -74,7 +74,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,