Matt Bolt 5 лет назад
Родитель
Сommit
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
 // Passthrough to the prometheus client API
 func (rlpc *RateLimitedPrometheusClient) URL(ep string, args map[string]string) *url.URL {
 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
 // Rate limit and passthrough to prometheus client API