mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: fix printing tag filters in TagFilters.String
This commit is contained in:
parent
c04f60db35
commit
6eb698d1cc
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func (tfs *TagFilters) String() string {
|
||||||
}
|
}
|
||||||
fmt.Fprintf(&bb, "{%s", tfs.tfs[0].String())
|
fmt.Fprintf(&bb, "{%s", tfs.tfs[0].String())
|
||||||
for i := range tfs.tfs[1:] {
|
for i := range tfs.tfs[1:] {
|
||||||
fmt.Fprintf(&bb, ", %s", tfs.tfs[i].String())
|
fmt.Fprintf(&bb, ", %s", tfs.tfs[i+1].String())
|
||||||
}
|
}
|
||||||
fmt.Fprintf(&bb, "}")
|
fmt.Fprintf(&bb, "}")
|
||||||
return bb.String()
|
return bb.String()
|
||||||
|
|
Loading…
Reference in a new issue