Skip to content
Snippets Groups Projects
Commit 4d33cb99 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

fix linting

parent f13cf28e
No related branches found
No related tags found
1 merge request!998[renovate] Update golangci/golangci-lint Docker tag to v1.60.1
Pipeline #221786 passed
...@@ -119,7 +119,6 @@ func (p *PndAdapter) RequestAll(ctx context.Context, path string) ([]proto.Messa ...@@ -119,7 +119,6 @@ func (p *PndAdapter) RequestAll(ctx context.Context, path string) ([]proto.Messa
reqResult := make([]proto.Message, len(resp.Mne)) reqResult := make([]proto.Message, len(resp.Mne))
g := new(errgroup.Group) g := new(errgroup.Group)
for i, mne := range resp.Mne { for i, mne := range resp.Mne {
i, mne := i, mne
// TODO: probably the controller should do this; this would result in a // TODO: probably the controller should do this; this would result in a
// single request from CLI side. // single request from CLI side.
g.Go(func() error { g.Go(func() error {
......
...@@ -294,7 +294,6 @@ func Test_version_Compare(t *testing.T) { ...@@ -294,7 +294,6 @@ func Test_version_Compare(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got := v.Compare(tt.args.inputVersion) got := v.Compare(tt.args.inputVersion)
...@@ -385,7 +384,6 @@ func Test_version_compareVersionSegment(t *testing.T) { ...@@ -385,7 +384,6 @@ func Test_version_compareVersionSegment(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got := compareVersionSegment(tt.args.left, tt.args.right) got := compareVersionSegment(tt.args.left, tt.args.right)
...@@ -451,7 +449,6 @@ func Test_version_parseVersionString(t *testing.T) { ...@@ -451,7 +449,6 @@ func Test_version_parseVersionString(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
t.Parallel() t.Parallel()
got, err := parseVersionString(tt.args.input) got, err := parseVersionString(tt.args.input)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment