Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error parsing config when setting consul.timeout. (#6907)
When parsing a config file which had the consul.timeout param set, Nomad was reporting an error causing startup to fail. This seems to be caused by the HCL decoder interpreting the timeout type as an int rather than a string. This is caused by the struct TimeoutHCL param having a hcl key of timeout alongside a Timeout struct param of type time.Duration (int). Ensuring the decoder ignores the Timeout struct param ensure the decoder runs correctly.
- Loading branch information