Skip to content

Commit

Permalink
Corrected the order of arguments to comply the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ndk committed Nov 10, 2024
1 parent d9e4f30 commit e6633a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tempo-cli/cmd-rewrite-blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit e6633a5

Please sign in to comment.