From e6633a5a18d3b4ba474af7609fa21d43108fe7e2 Mon Sep 17 00:00:00 2001 From: Andrey Karpov Date: Sun, 10 Nov 2024 22:49:40 +0100 Subject: [PATCH] Corrected the order of arguments to comply the documentation --- cmd/tempo-cli/cmd-rewrite-blocks.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tempo-cli/cmd-rewrite-blocks.go b/cmd/tempo-cli/cmd-rewrite-blocks.go index 72398ed60df..17e295e571c 100644 --- a/cmd/tempo-cli/cmd-rewrite-blocks.go +++ b/cmd/tempo-cli/cmd-rewrite-blocks.go @@ -23,8 +23,8 @@ import ( type dropTracesCmd struct { backendOptions - TraceIDs string `arg:"" help:"Trace IDs to drop"` TenantID string `arg:"" help:"tenant ID to search"` + TraceIDs string `arg:"" help:"Trace IDs to drop"` DropTrace bool `name:"drop-trace" help:"actually attempt to drop the trace" default:"false"` } @@ -216,7 +216,7 @@ func blocksWithTraceID(ctx context.Context, r backend.Reader, tenantID string, t // search here meta, err := isInBlock(ctx, r, blockNum2, id2, tenantID, traceID) if err != nil { - fmt.Println("Error querying block:", err) + fmt.Println("\nError querying block:", err) return }