Skip to content

Commit

Permalink
use proper format
Browse files Browse the repository at this point in the history
Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>
  • Loading branch information
claudiobastos and jpkrohling authored Sep 14, 2023
1 parent b9edce8 commit 5027b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/loadbalancingexporter/metrics_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func newMetricsExporter(params exporter.CreateSettings, cfg component.Config) (*
case "metric":
metricExporter.routingKey = metricNameRouting
default:
return nil, fmt.Errorf("unsupported routing_key: '%s'", cfg.(*Config).RoutingKey)
return nil, fmt.Errorf("unsupported routing_key: %q", cfg.(*Config).RoutingKey)
}
return &metricExporter, nil

Expand Down

0 comments on commit 5027b3e

Please sign in to comment.