Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit c40885f

Browse files
committed
Appease the linter
1 parent e29b259 commit c40885f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/remotewrite/trend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (tg *trendAsGauges) CacheNameIndex() {
114114
})
115115

116116
if i < len(tg.labels) && tg.labels[i].Name == namelbl {
117-
tg.ixname = uint16(i)
117+
tg.ixname = uint16(i) //nolint:gosec
118118
}
119119
}
120120

0 commit comments

Comments
 (0)