From 1187daa15b21c942a355013e0810297eaaf409bb Mon Sep 17 00:00:00 2001 From: coffee Date: Mon, 21 Nov 2016 18:02:38 +0800 Subject: [PATCH] adapt to server's checker field TLSSkipVerify type --- api/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,