From 9bca26cf7e9e6d87e991145cfe4aedb8ee98b073 Mon Sep 17 00:00:00 2001 From: Ryan Slade Date: Thu, 28 Jan 2016 11:09:59 +0200 Subject: [PATCH] Replace "delay" with "interval" in Service Discovery docs Delay appears to be incorrect. I was unable to get Consul checks working until I changed it to "interval" --- website/source/docs/jobspec/servicediscovery.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/source/docs/jobspec/servicediscovery.html.md b/website/source/docs/jobspec/servicediscovery.html.md index 66b390f63..c2432259a 100644 --- a/website/source/docs/jobspec/servicediscovery.html.md +++ b/website/source/docs/jobspec/servicediscovery.html.md @@ -58,7 +58,7 @@ group "database" { port = "db" check { type = "tcp" - delay = "10s" + interval = "10s" timeout = "2s" } } @@ -102,7 +102,7 @@ group "database" { currently `http` and `tcp`. In the future Nomad will add support for more Consul checks. -* `delay`: This indicates the frequency of the health checks that Consul will +* `interval`: This indicates the frequency of the health checks that Consul will perform. * `timeout`: This indicates how long Consul will wait for a health check query