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

client: improve alloc GC API error messages #9488

Merged
merged 2 commits into from
Jan 4, 2021

Conversation

tgross
Copy link
Member

@tgross tgross commented Dec 1, 2020

The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.

Note in the docs that the allocation will still show on the server responses.

Got rabbit-holed a bit by this while working on #9376

@vercel
Copy link

vercel bot commented Dec 1, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

nomad-storybook-and-ui – ./ui

🔍 Inspect: https://vercel.com/hashicorp/nomad-storybook-and-ui/rgf40jxyz
✅ Preview: Canceled

[Deployment for f752e15 canceled]

The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.

Note in the docs that the allocation will still show on the server responses.
@tgross tgross force-pushed the f-client-gc-api-better-errors branch from fc00cb7 to fa56747 Compare December 1, 2020 21:48
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui December 1, 2020 21:48 Inactive
@tgross tgross requested review from notnoop and drewbailey January 4, 2021 16:23
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
@vercel vercel bot temporarily deployed to Preview – nomad January 4, 2021 16:34 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui January 4, 2021 16:34 Inactive
@tgross tgross merged commit 5b33571 into master Jan 4, 2021
@tgross tgross deleted the f-client-gc-api-better-errors branch January 4, 2021 16:34
backspace pushed a commit that referenced this pull request Jan 22, 2021
The client allocation GC API returns a misleading error message when the
allocation exists but is not yet eligible for GC. Make this clear in the error
response.

Note in the docs that the allocation will still show on the server responses.
@github-actions
Copy link

github-actions bot commented Dec 5, 2022

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants