mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
The ClientState being pending isn't a good criteria; as an alloc may have been updated in-place before it was completed. Also, updated the logic so we only check for task states. If an alloc has deployment state but no persisted tasks at all, restore will still fail.
46 KiB
46 KiB