[v9.3.x] CI: Update golangci-lint to 1.51.2 for Go 1.20 compatibility (#65506)

[v9.3.x] Update golangci-lint to 1.51.2 for Go 1.20 compatibility
This commit is contained in:
Horst Gutmann
2023-03-29 10:42:59 +02:00
committed by GitHub
parent 972a9c5957
commit 64f074ca8d
18 changed files with 181 additions and 15 deletions
@@ -171,6 +171,7 @@ func (e *AzureLogAnalyticsDatasource) executeQuery(ctx context.Context, logger l
tracer.Inject(ctx, req.Header, span)
logger.Debug("AzureLogAnalytics", "Request ApiURL", req.URL.String())
//nolint:bodyclose // fixed in main
res, err := client.Do(req)
if err != nil {
return dataResponseErrorWithExecuted(err)