lock/rpc: change rpcPath to be called serviceEndpoint. (#4088)

This is a cleanup to ensure proper naming.
This commit is contained in:
Harshavardhana
2017-04-11 10:25:21 -07:00
committed by GitHub
parent 1b0b2c1c76
commit 1b1b9e4801
5 changed files with 95 additions and 89 deletions
+2 -2
View File
@@ -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