From 2a574bf8c29c98f9ba531c31e1066535dead0e16 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Tue, 19 Oct 2021 21:26:39 +0200 Subject: [PATCH] Uyuni: enable HTTP2 again (#9539) PR #9398 re-introduced HTTP2 in Prometheus. Uyuni SD can use the client without disabling it. Signed-off-by: Julien Pivotto --- discovery/uyuni/uyuni.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/uyuni/uyuni.go b/discovery/uyuni/uyuni.go index 080f17a8c..0a9c1fbf2 100644 --- a/discovery/uyuni/uyuni.go +++ b/discovery/uyuni/uyuni.go @@ -210,7 +210,7 @@ func NewDiscovery(conf *SDConfig, logger log.Logger) (*Discovery, error) { *apiURL = *conf.Server.URL apiURL.Path = path.Join(apiURL.Path, uyuniXMLRPCAPIPath) - rt, err := config.NewRoundTripperFromConfig(conf.HTTPClientConfig, "uyuni_sd", config.WithHTTP2Disabled()) + rt, err := config.NewRoundTripperFromConfig(conf.HTTPClientConfig, "uyuni_sd") if err != nil { return nil, err }