Skip to content

Commit

Permalink
chore: fix wrong parameters in Errorf usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Fernandez committed May 9, 2019
1 parent 37f414e commit cde00fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/virtual-kubelet/commands/root/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
func setupTracing(ctx context.Context, c Opts) error {
for k := range c.TraceConfig.Tags {
if reservedTagNames[k] {
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key"))
return strongerrors.InvalidArgument(errors.Errorf("invalid trace tag %q, must not use a reserved tag key", k))
}
}
if c.TraceConfig.Tags == nil {
Expand Down

0 comments on commit cde00fd

Please sign in to comment.