mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
When a job eval is blocked due to missing capacity, the `nomad job run` command will monitor the deployment, which may succeed once additional capacity is made available. But the current implementation would return `2` even when the deployment succeeded because it only took the first eval status into account. This commit updates the eval monitoring logic to reset the scheduling error state if the deployment eventually succeeds.
12 KiB
12 KiB