Skip to content

Commit 644b407

Browse files
Update golangci lint to v2.5.0 (#570)
* Update dependency golangci/golangci-lint to v2.5.0 | datasource | package | from | to | | ----------- | ---------------------- | ------ | ------ | | github-tags | golangci/golangci-lint | v2.4.0 | v2.5.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Address linter issue --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent fdaa5a7 commit 644b407

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Lint Go
3636
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
3737
with:
38-
version: v2.4.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
38+
version: v2.5.0 # renovate: datasource=github-tags depName=golangci/golangci-lint
3939

4040
actionlint:
4141
name: Actionlint

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# renovate: datasource=github-tags depName=golangci/golangci-lint
2-
GOLANGCI_LINT_VERSION = v2.4.0
2+
GOLANGCI_LINT_VERSION = v2.5.0
33

44
test: unit-test test-integration test-integration-no-stream-block clean
55

client/nginx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ func determineUpdates(updatedServers []UpstreamServer, nginxServers []UpstreamSe
10021002
}
10031003
}
10041004

1005-
return
1005+
return toAdd, toRemove, toUpdate
10061006
}
10071007

10081008
func (client *NginxClient) getIDOfHTTPServer(ctx context.Context, upstream string, name string) (int, error) {
@@ -1376,7 +1376,7 @@ func determineStreamUpdates(updatedServers []StreamUpstreamServer, nginxServers
13761376
}
13771377
}
13781378

1379-
return
1379+
return toAdd, toRemove, toUpdate
13801380
}
13811381

13821382
// GetStats gets process, slab, connection, request, ssl, zone, stream zone, upstream and stream upstream related stats from the NGINX Plus API.

0 commit comments

Comments
 (0)