Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit b6a848d

Browse files
committed
Use += to build test Target
1 parent 35b1e5d commit b6a848d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/models/series_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func benchmarkSetTags(b *testing.B, numTags, tagKeyLength, tagValueLength int, r
168168
}
169169

170170
for i := 0; i < numTags; i++ {
171-
in.Target = in.Target + ";" + randString(tagKeyLength) + "=" + randString(tagValueLength)
171+
in.Target += ";" + randString(tagKeyLength) + "=" + randString(tagValueLength)
172172
}
173173

174174
b.ResetTimer()

0 commit comments

Comments
 (0)