Explorar el Código

Fix stack overflow.

Matt Bolt hace 5 años
padre
commit
4dc37fced0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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