From e993c522a66eb58159bbeb888e9a7033ea0d891f Mon Sep 17 00:00:00 2001 From: Mohamed Osman Date: Wed, 16 Nov 2022 13:26:12 -0500 Subject: [PATCH] run gofmt --- cmd/otel-allocator/prehook/relabel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/otel-allocator/prehook/relabel.go b/cmd/otel-allocator/prehook/relabel.go index 7ecc7f47c8..9786932571 100644 --- a/cmd/otel-allocator/prehook/relabel.go +++ b/cmd/otel-allocator/prehook/relabel.go @@ -93,7 +93,7 @@ func (tf *RelabelConfigTargetFilter) SetConfig(cfgs map[string][]*relabel.Config func (tf *RelabelConfigTargetFilter) replaceRelabelConfig(cfg []*relabel.Config) []*relabel.Config { for i := range cfg { str := cfg[i].Regex.String() - if str == "$(SHARD)" { + if str == "$(SHARD)" { cfg[i].Regex = relabel.MustNewRegexp("0") } }