From 3fc2054f85b67c476929e9cc15aedab67dbf9f5f Mon Sep 17 00:00:00 2001 From: James Rasell Date: Thu, 27 Apr 2023 15:00:28 +0100 Subject: [PATCH] docs: use appropriate file extension for autoscaler agent config. (#16993) --- website/content/tools/autoscaling/agent.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/tools/autoscaling/agent.mdx b/website/content/tools/autoscaling/agent.mdx index 2efd3a12b..6d2ae9d18 100644 --- a/website/content/tools/autoscaling/agent.mdx +++ b/website/content/tools/autoscaling/agent.mdx @@ -46,10 +46,10 @@ are not loaded recursively. For example: ```shell-session -$ nomad-autoscaler agent -config=autoscaler.conf -config=/etc/nomad-autoscaler -config=extra.json +$ nomad-autoscaler agent -config=autoscaler.hcl -config=/etc/nomad-autoscaler -config=extra.json ``` -This will load configuration from `autoscaler.conf`, from `.hcl` and `.json` files +This will load configuration from `autoscaler.hcl`, from `.hcl` and `.json` files under `/etc/nomad-autoscaler`, and finally from `extra.json`. As each file is processed, its contents are merged into the existing configuration. When merging, any non-empty values from the latest config file will append or replace