Skip to content

Commit 70dc11a

Browse files
AkihiroSudathaJeztah
authored andcommitted
lint: remove //nolint:dupword that are no longer needed
Signed-off-by: Akihiro Suda <[email protected]> (cherry picked from commit a9ac5f9) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent fec784a commit 70dc11a

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
@@ -198,7 +198,6 @@ type Stat struct {
198198
}
199199

200200
func parseStat(data string) (stat Stat, err error) {
201-
//nolint:dupword
202201
// From proc(5), field 2 could contain space and is inside `(` and `)`.
203202
// The following is an example:
204203
// 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
@@ -89,7 +89,6 @@ func TestFromBitmap(t *testing.T) {
8989
}
9090

9191
func TestParseProcPIDStatus(t *testing.T) {
92-
//nolint:dupword
9392
procPIDStatus := `Name: cat
9493
Umask: 0022
9594
State: R (running)

0 commit comments

Comments
 (0)