Skip to content

Commit a2663a4

Browse files
author
Hector Fernandez
committed
chore: fix wrong parameters in Errorf usage
1 parent 3d83d04 commit a2663a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/virtual-kubelet/commands/root/tracing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
func setupTracing(ctx context.Context, c Opts) error {
4242
for k := range c.TraceConfig.Tags {
4343
if reservedTagNames[k] {
44-
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key"))
44+
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key", k))
4545
}
4646
}
4747
if c.TraceConfig.Tags == nil {

0 commit comments

Comments
 (0)