mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
adapt to server's checker field TLSSkipVerify type
This commit is contained in:
parent
fb27534dc1
commit
a5e08845c2
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user