mirror of
https://github.com/status-im/consul.git
synced 2025-02-19 17:14:37 +00:00
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 {
|
type AgentServiceCheck struct {
|
||||||
Script string `json:",omitempty"`
|
Script string `json:",omitempty"`
|
||||||
Interval string `json:",omitempty"`
|
Interval string `json:",omitempty"`
|
||||||
|
Timeout string `json:",omitempty"`
|
||||||
TTL string `json:",omitempty"`
|
TTL string `json:",omitempty"`
|
||||||
HTTP string `json:",omitempty"`
|
HTTP string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user