-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Allow client.cpu_total_compute to override attr.cpu.totalcompute #9532
Conversation
This pull request is being automatically deployed with Vercel (learn more). nomad-storybook-and-ui – ./ui🔍 Inspect: https://vercel.com/hashicorp/nomad-storybook-and-ui/h49osv8hb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @joel0! Thanks for opening this PR!
726c08b
to
360f588
Compare
@joel0 is attempting to deploy a commit to the HashiCorp Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the delay in re-review! I didn't notice this had been updated.
I've pulled this locally and it rebases cleanly, and I've verified both the bug on current 1.0.1 and that the fix works. LGTM! Thanks again @joel0!
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. |
The documentation states that
${attr.cpu.totalcompute}
may be overridden byclient.cpu_total_compute
. The actual behaviour was thatattr.cpu.totalcompute
was unset whencpu_total_compute
was used.I think either the feature should operate how the documentation says, or the documentation should be updated. I opted for changing the feature, as I think it would be useful.