From 6edb87a2f7bd90dc8632338d487690be78686c8b Mon Sep 17 00:00:00 2001 From: Rafael Garcia Date: Wed, 10 Jun 2026 08:10:47 -0400 Subject: [PATCH] cli: show full snapshot ID in `snapshot list` so get/restore work `snapshot list` truncated the ID to 12 chars (TruncateID), but `snapshot get`/`snapshot restore` require the full 24-char ID, so the displayed ID returned 404. Show the full ID in the list table; `-q` output was already full and is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) --- pkg/cmd/snapshotcmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/snapshotcmd.go b/pkg/cmd/snapshotcmd.go index 70b8914..a45b60d 100644 --- a/pkg/cmd/snapshotcmd.go +++ b/pkg/cmd/snapshotcmd.go @@ -350,7 +350,7 @@ func handleSnapshotList(ctx context.Context, cmd *cli.Command) error { name = "-" } table.AddRow( - TruncateID(snapshot.ID), + snapshot.ID, name, string(snapshot.Kind), snapshot.SourceInstanceName,