Browse Source

Notes that both "hcl" and "json" files are loaded from the config-dir.

The previous version only mentioned "json" but the behavior was to read
"hcl" files as well.
pull/4351/head
Geoffrey Grosenbach 6 years ago
parent
commit
5eecbeb7ae
  1. 2
      website/source/docs/agent/options.html.md

2
website/source/docs/agent/options.html.md

@ -136,7 +136,7 @@ will exit with an error at startup.
* <a name="_config_dir"></a><a href="#_config_dir">`-config-dir`</a> - A directory of
configuration files to load. Consul will
load all files in this directory with the suffix ".json". The load order
load all files in this directory with the suffix ".json" or ".hcl". The load order
is alphabetical, and the the same merge routine is used as with the
[`config-file`](#_config_file) option above. This option can be specified multiple times
to load multiple directories. Sub-directories of the config directory are not loaded.

Loading…
Cancel
Save