From 9a315ad9b3efc468596e06dfd3128d6e20ee3a2c Mon Sep 17 00:00:00 2001 From: Grant Griffiths Date: Wed, 26 May 2021 23:06:56 -0700 Subject: [PATCH] CSI snapshot list: do not shorten snapshot ID Signed-off-by: Grant Griffiths --- command/volume_snapshot_list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/volume_snapshot_list.go b/command/volume_snapshot_list.go index 435790694..65ea484ca 100644 --- a/command/volume_snapshot_list.go +++ b/command/volume_snapshot_list.go @@ -154,7 +154,7 @@ func csiFormatSnapshots(snapshots []*api.CSISnapshot, verbose bool) string { } for _, v := range snapshots { rows = append(rows, fmt.Sprintf("%s|%s|%s|%s|%v", - limit(v.ID, length), + v.ID, limit(v.ExternalSourceVolumeID, length), humanize.IBytes(uint64(v.SizeBytes)), formatUnixNanoTime(v.CreateTime),