api: allow timeout field to be specified for checks
This commit is contained in:
parent
8a4f0dd179
commit
c248d5badd
|
@ -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