mirror of
https://github.com/minio/minio.git
synced 2025-11-24 11:37:46 -05:00
Upgrade to new dsync version incl. stale lock detection (#2708)
This commit is contained in:
@@ -123,3 +123,13 @@ func (rpcClient *RPCClient) Close() error {
|
||||
rpcClient.clearRPCClient()
|
||||
return rpcLocalStack.Close()
|
||||
}
|
||||
|
||||
// Node returns the node (network address) of the connection
|
||||
func (rpcClient *RPCClient) Node() string {
|
||||
return rpcClient.node
|
||||
}
|
||||
|
||||
// RPCPath returns the RPC path of the connection
|
||||
func (rpcClient *RPCClient) RPCPath() string {
|
||||
return rpcClient.rpcPath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user