Browse Source

Updated the comment for CheckType

pull/1343/head
Diptanu Choudhury 9 years ago
parent
commit
b4af7f44af
  1. 6
      command/agent/check.go

6
command/agent/check.go

@ -35,10 +35,10 @@ const (
// CheckType is used to create either the CheckMonitor
// or the CheckTTL.
// Four types are supported: Script, HTTP, TCP and TTL
// Script, HTTP and TCP all require Interval
// Five types are supported: Script, HTTP, TCP, Docker and TTL
// Script, HTTP, Docker and TCP all require Interval
// 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 {
Script string
HTTP string

Loading…
Cancel
Save