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

Job scale endpoint is missing Namespace #8527

Closed
DingoEatingFuzz opened this issue Jul 24, 2020 · 1 comment · Fixed by #8530
Closed

Job scale endpoint is missing Namespace #8527

DingoEatingFuzz opened this issue Jul 24, 2020 · 1 comment · Fixed by #8530
Assignees
Labels
theme/api HTTP API and SDK issues type/bug

Comments

@DingoEatingFuzz
Copy link
Contributor

Nomad version

0.12.1

Issue

Jobs are only identifiable by their ID and their namespace. As such, by lacking the Namespace property in the /v1/job/:id/scale response, it is not possible to construct a job identifier from the response alone. This is also inconsistent with the other job endpoints.

nomad/nomad/structs/structs.go

Lines 1293 to 1299 in f651278

type JobScaleStatus struct {
JobID string
JobCreateIndex uint64
JobModifyIndex uint64
JobStopped bool
TaskGroups map[string]*TaskGroupScaleStatus
}

@github-actions
Copy link

github-actions bot commented Nov 4, 2022

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/api HTTP API and SDK issues type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants