Skip to content

Commit

Permalink
adapt to server's checker field TLSSkipVerify type
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeehc committed Nov 21, 2016
1 parent fb27534 commit a5e0884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a5e0884

Please sign in to comment.