adapt to server's checker field TLSSkipVerify type

This commit is contained in:
coffee 2016-11-21 18:02:38 +08:00
parent 6814a3754e
commit 1187daa15b
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ type AgentServiceCheck struct {
TCP string `json:",omitempty"` TCP string `json:",omitempty"`
Status string `json:",omitempty"` Status string `json:",omitempty"`
Notes 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 // In Consul 0.7 and later, checks that are associated with a service
// may also contain this optional DeregisterCriticalServiceAfter field, // may also contain this optional DeregisterCriticalServiceAfter field,