mirror of https://github.com/status-im/consul.git
api: allow timeout field to be specified for checks
This commit is contained in:
parent
6cc9478c38
commit
5c2a764cbe
|
@ -65,6 +65,7 @@ type AgentCheckRegistration struct {
|
|||
type AgentServiceCheck struct {
|
||||
Script string `json:",omitempty"`
|
||||
Interval string `json:",omitempty"`
|
||||
Timeout string `json:",omitempty"`
|
||||
TTL string `json:",omitempty"`
|
||||
HTTP string `json:",omitempty"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue