mirror of
https://github.com/minio/minio.git
synced 2025-11-13 15:21:36 -05:00
Upgrade to new dsync version incl. stale lock detection (#2708)
This commit is contained in:
@@ -161,3 +161,19 @@ func (authClient *AuthRPCClient) Call(serviceMethod string, args interface {
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// Node returns the node (network address) of the connection
|
||||
func (authClient *AuthRPCClient) Node() string {
|
||||
if authClient.rpc != nil {
|
||||
return authClient.rpc.node
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// RPCPath returns the RPC path of the connection
|
||||
func (authClient *AuthRPCClient) RPCPath() string {
|
||||
if authClient.rpc != nil {
|
||||
return authClient.rpc.rpcPath
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user