Files
nomad/client/allocrunner/taskrunner
Tim Gross f31482ae8a interpolate environment for services in script checks (#6916)
In 0.10.2 (specifically 387b016) we added interpolation to group
service blocks and centralized the logic for task environment
interpolation. This wasn't also added to script checks, which caused a
regression where the IDs for script checks for services w/
interpolated fields (ex. the service name) didn't match the service ID
that was registered with Consul.

This changeset calls the same taskenv interpolation logic during
`script_check` configuration, and adds tests to reduce the risk of
future regressions by comparing the IDs of service hook and the check hook.
2020-01-09 08:12:54 -05:00
..
2019-03-04 13:15:15 -08:00
2019-01-08 09:11:47 -05:00
2019-12-13 11:21:00 -05:00
2019-07-17 11:01:59 +07:00