From d4251929f788dab6b79fc73be237686576c798ad Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 12 Aug 2020 11:37:59 +0100 Subject: [PATCH] docs: fix incorrect Autoscaler policy block dir detail. --- website/pages/docs/autoscaling/agent.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/pages/docs/autoscaling/agent.mdx b/website/pages/docs/autoscaling/agent.mdx index 9cac049f4..d96b31dd8 100644 --- a/website/pages/docs/autoscaling/agent.mdx +++ b/website/pages/docs/autoscaling/agent.mdx @@ -146,15 +146,14 @@ The `policy` block configures the Nomad Autoscaler's policy handling. ```hcl policy { - dir = "/opt/nomad-autoscaler/plugins" + dir = "/opt/nomad-autoscaler/policies" default_cooldown = "2m" } ``` ### `policy` Parameters -- `dir` `(string: "./plugins")` - The path to a directory used to load scaling - policies. +- `dir` `(string: "")` - The path to a directory used to load scaling policies. - `default_cooldown` `(string: "5m")` - The default cooldown that will be applied to all scaling policies which do not specify a cooldown period.