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

api: add missing client status "unknown" #17688

Closed
shoenig opened this issue Jun 22, 2023 · 0 comments · Fixed by #17726
Closed

api: add missing client status "unknown" #17688

shoenig opened this issue Jun 22, 2023 · 0 comments · Fixed by #17726
Labels
good first issue stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/api HTTP API and SDK issues type/bug
Milestone

Comments

@shoenig
Copy link
Member

shoenig commented Jun 22, 2023

On the nomad/ side we have AllocClientStatusUnknown, but on the api/ side this state is missing

https://github.com/hashicorp/nomad/blob/v1.5.6/nomad/structs/structs.go#L10022-L10029

https://github.com/hashicorp/nomad/blob/main/api/allocations.go#L27-L33

Update the API package to match all possible client status states.

@shoenig shoenig added type/bug theme/api HTTP API and SDK issues stage/accepted Confirmed, and intend to work on. No timeline committment though. labels Jun 22, 2023
@shoenig shoenig added this to the 1.6.0 milestone Jun 22, 2023
sejalapeno added a commit to sejalapeno/nomad that referenced this issue Jun 26, 2023
updated missing client status "unknown" hashicorp#17688
shoenig added a commit that referenced this issue Jun 26, 2023
* Update allocations.go

updated missing client status "unknown" #17688

* changelog

* Update .changelog/17726.txt

adding relevant desc.

Co-authored-by: Seth Hoenig <shoenig@duck.com>

---------

Co-authored-by: Seth Hoenig <shoenig@duck.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/api HTTP API and SDK issues type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants