Fix issue where interval and retries can't be set using ENV variables. Using an ENV variable to set these values will result in the logs given below.
What does this PR do?
Specifically cast the retries and interval settings in the host array to integers. Since there's no validation on these values, if you set these values through ENV variables, they'll come through as strings.
Why is it important/What is the impact to the user?
Users will like to set these values through ENV variables.
Checklist
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have made corresponding change to the default configuration files (and/or docker env variables)
[ ] I have added tests that prove my fix is effective or that my feature works
How to test this PR locally
Use ENV variables to set the retries and interval values in the config:
Release notes
What does this PR do?
Specifically cast the
retries
andinterval
settings in thehost
array to integers. Since there's no validation on these values, if you set these values through ENV variables, they'll come through as strings.Why is it important/What is the impact to the user?
Users will like to set these values through ENV variables.
Checklist
How to test this PR locally
Related issues
None created
Logs