From efc37542e7580fbe159d3c59c209c1da4bbb3b45 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Thu, 11 Mar 2021 14:20:13 -0500 Subject: [PATCH] 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. --- command/volume_status.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/command/volume_status.go b/command/volume_status.go index 977949b9b..f89ac87ff 100644 --- a/command/volume_status.go +++ b/command/volume_status.go @@ -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()