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

Backport of cli: Fix a panic in deployment status when scheduling is slow into release/1.3.x #16032

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #16011 to be assessed for backporting due to the inclusion of the label backport/1.3.x.

The below text is copied from the body of the original PR.


Fixes #15235

If a deployment fails, the deployment status command can get a nil deployment when it checks for a rollback deployment if there isn't one (or at least not one at the time of the query). Fix the panic.

Note that I'm intentionally punting on solving the old TODO here, as it'd just take too long for me to page all this code in. Dropping a quick panic fix was a small win between other tasks 😁

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/b-deployment-status-panic-fix/normally-tidy-silkworm branch from a08fdd5 to ec03147 Compare February 2, 2023 17:35
@hc-github-team-nomad-core hc-github-team-nomad-core merged commit 2c71f3a into release/1.3.x Feb 2, 2023
@hc-github-team-nomad-core hc-github-team-nomad-core deleted the backport/b-deployment-status-panic-fix/normally-tidy-silkworm branch February 2, 2023 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants