docs: fix incorrect Autoscaler policy block dir detail.

This commit is contained in:
James Rasell 2020-08-12 11:37:59 +01:00
parent 6ca01a9df4
commit d4251929f7
No known key found for this signature in database
GPG Key ID: AA7D460F5C8377AA
1 changed files with 2 additions and 3 deletions

View File

@ -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.