open-nomad/.changelog/14749.txt
Luiz Aoqui b924802958
template: apply splay value on change_mode script (#14749)
Previously, the splay timeout was only applied if a template re-render
caused a restart or a signal action. The `change_mode = "script"` was
running after the `if restart || len(signals) != 0` check, so it was
invoked at all times.

This change refactors the logic so it's easier to notice that new
`change_mode` options should start only after `splay` is applied.
2022-09-30 12:04:22 -04:00

4 lines
134 B
Plaintext

```release-note:bug
template: Fixed a bug where the `splay` timeout was not being applied when `change_mode` was set to `script`.
```