mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
csi: don't truncate CSI volume IDs
Volume IDs are not UUIDs, so truncating them to the short ID isn't really necessary and makes for especially awkward UX when per-alloc volumes are in use.
This commit is contained in:
@@ -109,11 +109,7 @@ func (c *VolumeStatusCommand) Run(args []string) int {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Truncate the id unless full length is requested
|
||||
c.length = shortId
|
||||
if c.verbose {
|
||||
c.length = fullId
|
||||
}
|
||||
c.length = fullId
|
||||
|
||||
// Get the HTTP client
|
||||
client, err := c.Meta.Client()
|
||||
|
||||
Reference in New Issue
Block a user