mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
make default client respect the registry settings
This commit is contained in:
@@ -18,7 +18,11 @@ import (
|
||||
var DefaultClient = getDefaultGrpcClient()
|
||||
|
||||
func getDefaultGrpcClient() client.Client {
|
||||
|
||||
reg := registry.GetRegistry()
|
||||
|
||||
return mgrpcc.NewClient(
|
||||
client.Registry(reg),
|
||||
client.Wrap(mbreaker.NewClientWrapper()),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user