6f92b04226
Use doneCh like @dadgar suggested in the original PR. Thoroughly test hook as concurrent Update calls make for a tricky concurrency problem. |
||
---|---|---|
.. | ||
interfaces | ||
state | ||
taskrunner | ||
alloc_runner.go | ||
alloc_runner_hooks.go | ||
alloc_runner_test.go | ||
allocdir_hook.go | ||
config.go | ||
health_hook.go | ||
health_hook_test.go | ||
migrate_hook.go | ||
util.go |