lint: remove //nolint:dupword that are no longer needed

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2023-02-14 15:26:08 +09:00
parent 9b510e9a8f
commit a9ac5f9cb5
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A
2 changed files with 0 additions and 2 deletions

View File

@ -204,7 +204,6 @@ type Stat struct {
} }
func parseStat(data string) (stat Stat, err error) { func parseStat(data string) (stat Stat, err error) {
//nolint:dupword
// From proc(5), field 2 could contain space and is inside `(` and `)`. // From proc(5), field 2 could contain space and is inside `(` and `)`.
// The following is an example: // The following is an example:
// 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 // 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

View File

@ -24,7 +24,6 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
//nolint:dupword
const procPIDStatus = `Name: cat const procPIDStatus = `Name: cat
Umask: 0022 Umask: 0022
State: R (running) State: R (running)