Răsfoiți Sursa

Fix stack overflow.

Matt Bolt 5 ani în urmă
părinte
comite
4dc37fced0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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