mirror of https://github.com/status-im/consul.git
Merge pull request #2530 from coffeehc/master
adapt to server's checker field TLSSkipVerify type
This commit is contained in:
commit
d079e62d57
|
@ -75,7 +75,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,
|
||||||
|
|
Loading…
Reference in New Issue