[v9.4.x] Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 (#63891)

This commit is contained in:
Emil Tullstedt
2023-03-02 11:53:45 +01:00
committed by GitHub
parent eab26273d6
commit 4e687dfb6f
24 changed files with 416 additions and 302 deletions
+3 -2
View File
@@ -15,10 +15,11 @@ import (
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"
"go.opentelemetry.io/otel/attribute"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/grafana/grafana/pkg/infra/tracing"
"github.com/grafana/grafana/pkg/tsdb/intervalv2"
"go.opentelemetry.io/otel/attribute"
)
func addInterval(period string, field *data.Field) error {
@@ -81,7 +82,7 @@ func doRequestPage(ctx context.Context, logger log.Logger, r *http.Request, dsIn
r.Body = io.NopCloser(bytes.NewBuffer(buf))
r.Method = http.MethodPost
}
res, err := dsInfo.services[cloudMonitor].client.Do(r)
res, err := dsInfo.services[cloudMonitor].client.Do(r) //nolint:bodyclose // fixed in main
if err != nil {
return cloudMonitoringResponse{}, err
}