mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-20 17:36:36 +00:00
chore(deps): update dependency golangci/golangci-lint to v2.6.0 (#2246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
(cherry picked from commit 3d0587d28c)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
committed by
Jan-Otto Kröpke
parent
d197738861
commit
92bc41dc70
@@ -64,6 +64,7 @@ func TestMultipleDirectories(t *testing.T) {
|
||||
err := val.Write(&metric)
|
||||
require.NoError(t, err)
|
||||
|
||||
//nolint:modernize,perfsprint
|
||||
got += metric.String()
|
||||
}
|
||||
|
||||
@@ -102,6 +103,7 @@ func TestDuplicateFileName(t *testing.T) {
|
||||
err := val.Write(&metric)
|
||||
require.NoError(t, err)
|
||||
|
||||
//nolint:perfsprint
|
||||
got += metric.String()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user