You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Nomad version
Nomad v1.6.2
Operating system and Environment details
Fedora 29
Issue
Nomad UI sends wrong request when purging.
Reproduction steps
Create a job not in default namespace. Stop it. Click to purge it.
Expected Result
Should be purged.
Actual Result
Not purged.
When clicking "purge job" from the ui I see in chrome network debug view that it sends the following query:
It's wrong, it should be
namespace=dev&purge=true
.I completely guess, I know nothing about javascript, this is caused by adding
?purge
here:https://github.com/hashicorp/nomad/blob/main/ui/app/adapters/job.js#L47
Where the
?namespace
is added here:https://github.com/hashicorp/nomad/blob/main/ui/app/adapters/watchable-namespace-ids.js#L54
The text was updated successfully, but these errors were encountered: