mirror of https://github.com/status-im/consul.git
Updated the comment for CheckType
This commit is contained in:
parent
4c1818eb61
commit
b4af7f44af
|
@ -35,10 +35,10 @@ const (
|
||||||
|
|
||||||
// CheckType is used to create either the CheckMonitor
|
// CheckType is used to create either the CheckMonitor
|
||||||
// or the CheckTTL.
|
// or the CheckTTL.
|
||||||
// Four types are supported: Script, HTTP, TCP and TTL
|
// Five types are supported: Script, HTTP, TCP, Docker and TTL
|
||||||
// Script, HTTP and TCP all require Interval
|
// Script, HTTP, Docker and TCP all require Interval
|
||||||
// Only one of the types needs to be provided
|
// Only one of the types needs to be provided
|
||||||
// TTL or Script/Interval or HTTP/Interval or TCP/Interval
|
// TTL or Script/Interval or HTTP/Interval or TCP/Interval or Docker/Interval
|
||||||
type CheckType struct {
|
type CheckType struct {
|
||||||
Script string
|
Script string
|
||||||
HTTP string
|
HTTP string
|
||||||
|
|
Loading…
Reference in New Issue