adapt to server's checker field TLSSkipVerify type

This commit is contained in:
coffee 2016-11-21 18:02:38 +08:00
parent fb27534dc1
commit a5e08845c2

View File

@ -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,