Skip to content

Commit d359d35

Browse files
committed
Update golangci-lint to v2.6.1
1 parent b1654d0 commit d359d35

File tree

11 files changed

+3
-9
lines changed

11 files changed

+3
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ else
119119
LOGCOUNTER=*dont-include-log-counter
120120
endif
121121

122-
GOLANGCI_LINT_VERSION := v2.2.0
122+
GOLANGCI_LINT_VERSION := v2.6.1
123123
GOLANGCI_LINT := ./.bin/golangci-lint
124124

125125
lint: $(GOLANGCI_LINT)

cmd/nodeproblemdetector/exporterplugins/stackdriver_exporter_plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_stackdriver_exporter
2-
// +build !disable_stackdriver_exporter
32

43
/*
54
Copyright 2019 The Kubernetes Authors All rights reserved.

cmd/nodeproblemdetector/node_problem_detector_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_system_log_monitor
2-
// +build !disable_system_log_monitor
32

43
/*
54
Copyright 2021 The Kubernetes Authors All rights reserved.

cmd/nodeproblemdetector/node_problem_detector_windows_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_system_log_monitor
2-
// +build !disable_system_log_monitor
32

43
/*
54
Copyright 2021 The Kubernetes Authors All rights reserved.

cmd/nodeproblemdetector/problemdaemonplugins/custom_plugin_monitor_plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_custom_plugin_monitor
2-
// +build !disable_custom_plugin_monitor
32

43
/*
54
Copyright 2019 The Kubernetes Authors All rights reserved.

cmd/nodeproblemdetector/problemdaemonplugins/system_log_monitor_plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_system_log_monitor
2-
// +build !disable_system_log_monitor
32

43
/*
54
Copyright 2019 The Kubernetes Authors All rights reserved.

cmd/nodeproblemdetector/problemdaemonplugins/system_stats_monitor_plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_system_stats_monitor
2-
// +build !disable_system_stats_monitor
32

43
/*
54
Copyright 2019 The Kubernetes Authors All rights reserved.

pkg/exporters/stackdriver/stackdriver_exporter_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !disable_stackdriver_exporter
2-
// +build !disable_stackdriver_exporter
32

43
/*
54
Copyright 2019 The Kubernetes Authors All rights reserved.

pkg/healthchecker/health_checker_darwin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"time"
2222

2323
"k8s.io/klog/v2"
24+
2425
"k8s.io/node-problem-detector/cmd/healthchecker/options"
2526
)
2627

pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_darwin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"runtime"
2121

2222
"k8s.io/klog/v2"
23+
2324
"k8s.io/node-problem-detector/pkg/systemlogmonitor/logwatchers/types"
2425
)
2526

0 commit comments

Comments
 (0)