Skip to content

Commit a9ac5f9

Browse files
committed
lint: remove //nolint:dupword that are no longer needed
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 9b510e9 commit a9ac5f9

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

cmd/containerd-stress/density.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ type Stat struct {
204204
}
205205

206206
func parseStat(data string) (stat Stat, err error) {
207-
//nolint:dupword
208207
// From proc(5), field 2 could contain space and is inside `(` and `)`.
209208
// The following is an example:
210209
// 89653 (gunicorn: maste) S 89630 89653 89653 0 -1 4194560 29689 28896 0 3 146 32 76 19 20 0 1 0 2971844 52965376 3920 18446744073709551615 1 1 0 0 0 0 0 16781312 137447943 0 0 0 17 1 0 0 0 0 0 0 0 0 0 0 0 0 0

pkg/cap/cap_linux_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import (
2424
"github.com/stretchr/testify/assert"
2525
)
2626

27-
//nolint:dupword
2827
const procPIDStatus = `Name: cat
2928
Umask: 0022
3029
State: R (running)

0 commit comments

Comments
 (0)