mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +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.
4 lines
96 B
Plaintext
4 lines
96 B
Plaintext
```release-note:bug
|
|
cli: Fix return code when `nomad job run` succeeds after a blocked eval
|
|
```
|