Skip to content

Commit

Permalink
run gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
moh-osman3 committed Nov 16, 2022
1 parent 7e48855 commit e993c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/otel-allocator/prehook/relabel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down

0 comments on commit e993c52

Please sign in to comment.