mirror of
https://github.com/minio/minio.git
synced 2026-11-08 08:39:12 +00:00
1 parent
8a405cab2f
commit
396d78352d
13 files changed
+117
-635
No files matched your search
+6
-1
@@ -268,9 +268,14 @@ func NewRPCClient(args RPCClientArgs) (*RPCClient, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
rpcClient, err := xrpc.NewClient(args.ServiceURL, args.TLSConfig, defaultRPCTimeout)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &RPCClient{
|
||||
args: args,
|
||||
authToken: args.NewAuthTokenFunc(),
|
||||
rpcClient: xrpc.NewClient(args.ServiceURL, args.TLSConfig, defaultRPCTimeout),
|
||||
rpcClient: rpcClient,
|
||||
}, nil
|
||||
}
|
||||
Reference in new issue
Block a user