open-nomad/client/allocrunner
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
..
interfaces
state
tasklifecycle test: remove flaky Gate test (#14575) 2022-09-19 11:31:03 -04:00
taskrunner template: apply splay value on change_mode script (#14749) 2022-09-30 12:04:22 -04:00
alloc_runner.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
alloc_runner_hooks.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
alloc_runner_test.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
alloc_runner_unix_test.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
allocdir_hook.go
cgroup_hook.go
checks_hook.go
checks_hook_test.go
config.go
consul_grpc_sock_hook.go
consul_grpc_sock_hook_test.go
consul_http_sock_hook.go
consul_http_sock_hook_test.go
csi_hook.go
csi_hook_test.go
group_service_hook.go Add Namespace, Job and Group to envoy stats (#14311) 2022-09-22 10:38:21 -04:00
group_service_hook_test.go
health_hook.go
health_hook_test.go
migrate_hook.go
network_hook.go
network_hook_test.go
network_manager_linux.go
network_manager_linux_test.go
network_manager_nonlinux.go
networking.go
networking_bridge_linux.go
networking_cni.go chore: remove use of "err" a log line context key for errors. (#14433) 2022-09-01 15:06:10 +02:00
networking_cni_test.go
testing.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
upstream_allocs_hook.go