-
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
filter volumes by type in 'nomad node status' output #8902
Conversation
CircleCI is having a moment, but command tests pass:
|
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.
Do we need to update nodeCSIVolumeNames
in as well https://github.com/hashicorp/nomad/blob/f0b140fdfa5637bb1af8488f0a20a3e2dad19b65/command/node_status.go#L321-L335
Volume requests can be either CSI or host volumes, so when displaying the CSI volume info for `nomad node status -verbose` we need to filter out the host volumes.
f0b140f
to
91c799b
Compare
Good catch. Fixed in 91c799b. I took a quick pass through the code base grepping for similar constructs and I think we're good everywhere else. Updated PR passes tests as well:
|
Volume requests can be either CSI or host volumes, so when displaying the CSI volume info for `nomad node status -verbose` we need to filter out the host volumes.
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. |
Fixes #8901
Volume requests can be either CSI or host volumes, so when displaying the CSI
volume info for
nomad node status -verbose
we need to filter out the hostvolumes.