From a5e08845c2e6d446e7049076de954c2056c8d415 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 0422a2842d..84962da0a0 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,