Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error parsing config when setting consul.timeout. #6907

Merged
merged 1 commit into from
Jan 7, 2020

Commits on Jan 7, 2020

  1. Fix error parsing config when setting consul.timeout.

    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.
    jrasell committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    88da39a View commit details
    Browse the repository at this point in the history