Matt Bolt пре 5 година
родитељ
комит
4dc37fced0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pkg/prom/prom.go

+ 1 - 1
pkg/prom/prom.go

@@ -34,7 +34,7 @@ type RateLimitedPrometheusClient struct {
 
 // Passthrough to the prometheus client API
 func (rlpc *RateLimitedPrometheusClient) URL(ep string, args map[string]string) *url.URL {
-	return rlpc.URL(ep, args)
+	return rlpc.client.URL(ep, args)
 }
 
 // Rate limit and passthrough to prometheus client API