-
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
CSI snapshot list: do not shorten snapshot ID #10664
Conversation
5574990
to
59414c4
Compare
for _, v := range snapshots { | ||
rows = append(rows, fmt.Sprintf("%s|%s|%s|%s|%v", | ||
limit(v.ID, length), | ||
limit(v.ExternalSourceVolumeID, length), |
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.
The external volume ID can be extremely long for some cloud providers (ex. Azure) and I don't think it's required for Nomad CLI operations the way the snapshot ID is. It might be worth having the limit removed by the -verbose
flag instead of by default for this field.
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.
Makes sense, I've updated this to still shorten the ExternalSourceVolumeID
.
Signed-off-by: Grant Griffiths <[email protected]>
59414c4
to
737317c
Compare
LGTM! |
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 #10660
Signed-off-by: Grant Griffiths [email protected]