Skip to content

Commit fb5d565

Browse files
replayrobert-milan
andauthored
Adjust the name tag length check
Co-Authored-By: Robert Milan <42070645+robert-milan@users.noreply.github.com>
1 parent ee01445 commit fb5d565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metric.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func writeSortedTagString(w io.Writer, name string, tags []string) error {
257257
}
258258

259259
for _, t := range tags {
260-
if len(t) >= 5 && t[:5] == "name=" {
260+
if len(t) > 5 && t[:5] == "name=" {
261261
continue
262262
}
263263

0 commit comments

Comments
 (0)