Skip to content

Commit b9e3381

Browse files
committed
lint: golangci: resolve unnecessary conversion (unconvert)
1 parent feb67ad commit b9e3381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi2/count.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func WriteEndpointCountCSV(filename string, hset histogram.HistogramSet) error {
7171
if len(parts) >= 2 {
7272
row := []string{
7373
tagName,
74-
strconv.Itoa(int(len(hist.Bins))),
74+
strconv.Itoa(len(hist.Bins)),
7575
strings.ToUpper(parts[0]),
7676
strings.Join(parts[1:], " ")}
7777
err := writer.Write(row)

0 commit comments

Comments
 (0)