Files
nomad/command
Tim Gross 7b9bce2d08 config: fix client.template config merging with defaults (#20165)
When loading the client configuration, the user-specified `client.template`
block was not properly merged with the default values. As a result, if the user
set any `client.template` field, all the other field defaulted to their zero
values instead of the documented defaults.

This changeset:
* Adds the missing `Merge` method for the client template config and ensures
  it's called.
* Makes a single source of truth for the default template configuration,
  instead of two different constructors.
* Extends the tests to cover the merge of a partial block better.

Fixes: https://github.com/hashicorp/nomad/issues/20164
2024-03-20 10:18:56 -04:00
..
2023-10-20 13:05:55 -04:00
2023-10-20 13:05:55 -04:00
2024-03-11 08:52:08 +00:00
2023-11-07 10:42:00 +01:00
2023-11-02 09:02:07 +01:00