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:
Tim Gross
2021-03-11 14:20:13 -05:00
parent b527861a67
commit efc37542e7

View File

@@ -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()