mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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
4 lines
144 B
Plaintext
4 lines
144 B
Plaintext
```release-note:bug
|
|
template: Fixed a bug where a partial `client.template` block would cause defaults for unspecified fields to be ignored
|
|
```
|