Files
nomad/client
Luiz Aoqui b614ef3b01 client: fix panic on alloc restore (#18356)
When restoring an allocation `WIDMgr` was not being set in the alloc
runner config, resulting in a nil panic when the task runner attempted
to start.

Since we will often require the same configuration values when creating
or restoring a new allocation, this commit moves the logic to a shared
function to ensure that `addAlloc` and `restoreState` configure alloc
runners with the same values.
2023-09-01 11:42:00 -03:00
..