From 00d4d65e92f07e371097b15056aadc854e35507c Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Fri, 5 Jun 2026 09:39:49 +0200 Subject: [PATCH] Fix flag names in bundle generate dashboard error message The fallback error in resolveID referenced --dashboard-path and --dashboard-id, which are not real flags for this command. Use the actual flag names --existing-path and --existing-id. Co-authored-by: Isaac --- cmd/bundle/generate/dashboard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bundle/generate/dashboard.go b/cmd/bundle/generate/dashboard.go index 7af4e01e92f..2b436cc2dfa 100644 --- a/cmd/bundle/generate/dashboard.go +++ b/cmd/bundle/generate/dashboard.go @@ -79,7 +79,7 @@ func (d *dashboard) resolveID(ctx context.Context, b *bundle.Bundle) string { return d.resolveFromID(ctx, b) } - logdiag.LogError(ctx, errors.New("expected one of --dashboard-path, --dashboard-id")) + logdiag.LogError(ctx, errors.New("expected one of --existing-path, --existing-id")) return "" }