Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: fix return code when job deployment succeeds #19876

Merged
merged 2 commits into from Feb 5, 2024
Merged

Commits on Feb 5, 2024

  1. cli: fix return code when job deployment succeeds

    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.
    lgfa29 committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    047372f View commit details
    Browse the repository at this point in the history
  2. changelog: add entry for #19876

    lgfa29 committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    2de4e96 View commit details
    Browse the repository at this point in the history