mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03: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