From c248d5baddb7c90937da960e80a3c5b3ae8da483 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Thu, 5 Feb 2015 23:34:30 -0800 Subject: [PATCH] api: allow timeout field to be specified for checks --- api/agent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/agent.go b/api/agent.go index 53946636e..4b144fe18 100644 --- a/api/agent.go +++ b/api/agent.go @@ -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"` }