rpc/lock: Make sure to capitalize for proper marshalling. (#3544)

Distributed setup stopped working for certain
types of operations `6d10f4c19af6861e4de1b22ac20a3e5136f69d67`

This is a regression.

Fixes #3543
This commit is contained in:
Harshavardhana
2017-01-08 20:37:53 -08:00
committed by GitHub
parent a091fe3ed6
commit e1142e99f2
3 changed files with 32 additions and 32 deletions

View File

@@ -103,9 +103,9 @@ type LoginRPCReply struct {
// LockArgs represents arguments for any authenticated lock RPC call.
type LockArgs struct {
AuthRPCArgs
dsyncLockArgs dsync.LockArgs
LockArgs dsync.LockArgs
}
func newLockArgs(args dsync.LockArgs) LockArgs {
return LockArgs{dsyncLockArgs: args}
return LockArgs{LockArgs: args}
}