Skip to content

Commit

Permalink
Upgrade golangci-lint to v1.53.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanemerson committed Nov 24, 2023
1 parent 15ac654 commit a2a3948
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint
.PHONY: golanci-lint
## Download golanci-lint locally if necessary
golangci-lint:
$(call go-get-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0)
$(call go-get-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3)

export GO_JUNIT_REPORT = $(shell pwd)/bin/go-junit-report
.PHONY: GO_JUNIT_REPORT
Expand Down
3 changes: 3 additions & 0 deletions pkg/infinispan/client/v13/backups_restores.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func status(url, name, op string, client httpClient.HttpClient) (api.Status, err
}

rsp, err := client.Head(url, nil)
defer func() {
err = httpClient.CloseBody(rsp, err)
}()
if err != nil {
return api.StatusUnknown, err
}
Expand Down

0 comments on commit a2a3948

Please sign in to comment.