Explorar el Código

Merge pull request #6437 from dmvk/feature/grafana-cli-proxy

Take grafana-cli proxy settings from env
Carl Bergquist hace 9 años
padre
commit
4b8d9cac6f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      pkg/cmd/grafana-cli/services/services.go

+ 1 - 0
pkg/cmd/grafana-cli/services/services.go

@@ -25,6 +25,7 @@ func Init(version string) {
 	grafanaVersion = version
 
 	tr := &http.Transport{
+		Proxy:           http.ProxyFromEnvironment,
 		TLSClientConfig: &tls.Config{InsecureSkipVerify: false},
 	}