mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
cleanup: refactoring leftover
This commit is contained in:
parent
7fe8d62304
commit
84f8c9be94
@ -90,8 +90,7 @@ func NewResourceStoreClientCloud(conn *grpc.ClientConn, cfg *setting.Cfg) (Resou
|
||||
}
|
||||
|
||||
if cfg.Env == setting.Dev {
|
||||
client := http.DefaultClient
|
||||
client = &http.Client{Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}}
|
||||
client := &http.Client{Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}}
|
||||
tokenClient, _ := authnlib.NewTokenExchangeClient(
|
||||
*grpcClientConfig.TokenClientConfig,
|
||||
authnlib.WithHTTPClient(client),
|
||||
|
Loading…
Reference in New Issue
Block a user