mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 05:00:22 +03:00
lock/rpc: change rpcPath to be called serviceEndpoint. (#4088)
This is a cleanup to ensure proper naming.
This commit is contained in:
@@ -50,9 +50,9 @@ func initDsyncNodes() error {
|
||||
accessKey: cred.AccessKey,
|
||||
secretKey: cred.SecretKey,
|
||||
serverAddr: ep.Host,
|
||||
serviceEndpoint: pathutil.Join(minioReservedBucketPath, lockRPCPath, getPath(ep)),
|
||||
secureConn: globalIsSSL,
|
||||
serviceName: "Dsync",
|
||||
serviceEndpoint: pathutil.Join(minioReservedBucketPath, lockServicePath, getPath(ep)),
|
||||
serviceName: lockServiceName,
|
||||
})
|
||||
if isLocalStorage(ep) && myNode == -1 {
|
||||
myNode = index
|
||||
|
||||
Reference in New Issue
Block a user