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

View File

@@ -29,9 +29,9 @@ func TestLockRPCClient(t *testing.T) {
accessKey: "abcd",
secretKey: "abcd123",
serverAddr: fmt.Sprintf("%X", UTCNow().UnixNano()),
serviceEndpoint: pathJoin(lockRPCPath, "/test/1"),
serviceEndpoint: pathJoin(lockServicePath, "/test/1"),
secureConn: false,
serviceName: "Dsync",
serviceName: lockServiceName,
})
// Attempt all calls.