diff --git a/go.mod b/go.mod index c7f892be0..60564f4be 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/grafana/amixr-api-go-client v0.0.12 // main branch github.com/grafana/grafana-com-public-clients/go/gcom v0.0.0-20240807172819-ac10800522a3 github.com/grafana/grafana-openapi-client-go v0.0.0-20240723170622-ae2c94b7c9a3 - github.com/grafana/machine-learning-go-client v0.8.0 + github.com/grafana/machine-learning-go-client v0.8.1 github.com/grafana/slo-openapi-client/go/slo v0.0.0-20240807172758-1b7d00838fc7 github.com/grafana/synthetic-monitoring-agent v0.25.2 github.com/grafana/synthetic-monitoring-api-go-client v0.8.0 diff --git a/go.sum b/go.sum index 36d139147..19eb5288c 100644 --- a/go.sum +++ b/go.sum @@ -144,6 +144,8 @@ github.com/grafana/grafana-plugin-sdk-go v0.235.0 h1:UnZ/iBDvCkfDgwR94opi8trAWJX github.com/grafana/grafana-plugin-sdk-go v0.235.0/go.mod h1:6n9LbrjGL3xAATntYVNcIi90G9BVHRJjzHKz5FXVfWw= github.com/grafana/machine-learning-go-client v0.8.0 h1:N8+0f5aFM/umVJWvlJkJy9McVIp9MIBUtuNruug94II= github.com/grafana/machine-learning-go-client v0.8.0/go.mod h1:9xRIoH6Y6RubuCPNjLfpckE/fLVe9dazg3HSLI1ARAU= +github.com/grafana/machine-learning-go-client v0.8.1 h1:cCVb2FQuMMto2qvhmVcjHM4eFjAey3AiTLYVUq3wYVI= +github.com/grafana/machine-learning-go-client v0.8.1/go.mod h1:9xRIoH6Y6RubuCPNjLfpckE/fLVe9dazg3HSLI1ARAU= github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF3YH66t4qL8= github.com/grafana/otel-profiling-go v0.5.1/go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls= github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg= diff --git a/pkg/provider/configure_clients.go b/pkg/provider/configure_clients.go index 4ec075c06..3afc2811d 100644 --- a/pkg/provider/configure_clients.go +++ b/pkg/provider/configure_clients.go @@ -121,7 +121,6 @@ func createMLClient(client *common.Client, providerConfig ProviderConfig) error BasicAuth: client.GrafanaAPIConfig.BasicAuth, BearerToken: client.GrafanaAPIConfig.APIKey, Client: getRetryClient(providerConfig), - NumRetries: client.GrafanaAPIConfig.NumRetries, } mlURL := client.GrafanaAPIURL if !strings.HasSuffix(mlURL, "/") {