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

[ui] Fix: Purging jobs via the UI when namespaces are present #19139

Conversation

philrenaud
Copy link
Contributor

Previously, we'd just concat ?purge=true without checking to see if other params were present. With this PR, we use our addToPath helper to append either via ? or &, depending whether other params like namespace are present.

Resolves #18677

@philrenaud philrenaud force-pushed the 18677-purging-from-nomad-ui-does-not-work-because-parameters-are-passed-incorrectly branch from 2f15bab to 48bfd0c Compare November 20, 2023 22:05
Copy link

github-actions bot commented Nov 20, 2023

Ember Test Audit comparison

main 48bfd0c change
passes 1538 1538 0
failures 0 0 0
flaky 0 0 0
duration 10m 45s 996ms 10m 58s 441ms +12s 445ms

Copy link
Contributor

@pkazmierczak pkazmierczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@philrenaud philrenaud added backport/1.6.x backport to 1.6.x release line backport/1.5.x backport to 1.5.x release line labels Nov 21, 2023
@philrenaud philrenaud merged commit 2e25411 into main Nov 21, 2023
19 checks passed
@philrenaud philrenaud deleted the 18677-purging-from-nomad-ui-does-not-work-because-parameters-are-passed-incorrectly branch November 21, 2023 14:23
nvanthao pushed a commit to nvanthao/nomad that referenced this pull request Mar 1, 2024
nvanthao pushed a commit to nvanthao/nomad that referenced this pull request Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.5.x backport to 1.5.x release line backport/1.6.x backport to 1.6.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Purging from Nomad UI does not work because parameters are passed incorrectly
2 participants