Files
nomad/.changelog/19876.txt
Luiz Aoqui 50c50a6328 cli: fix return code when job deployment succeeds (#19876)
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.
2024-02-05 18:32:25 -05:00

4 lines
96 B
Plaintext

```release-note:bug
cli: Fix return code when `nomad job run` succeeds after a blocked eval
```