Fix RPC mismatch in blockdev_getsize[s]
authorIustin Pop <iustin@google.com>
Tue, 15 Feb 2011 13:29:08 +0000 (14:29 +0100)
committerIustin Pop <iustin@google.com>
Thu, 17 Feb 2011 17:24:12 +0000 (18:24 +0100)
commitccfbbd2d1546b4f57d5bfeb115573967f7fb558b
tree466d89a94884f8aeae07fded19384ca28848920c
parent80a018085e4885735c6df72f91ce949a3c610594
Fix RPC mismatch in blockdev_getsize[s]

Commit 92fd2250 added consistency checks in the RPC layer, which broke
the call_blockdev_getsizes RPC call (declared with 's' at the end in
rpc.py, without 's' in the node daemon).

The immediate fix is to correct the rpc function name, the long term
one will be to remove this duplication.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Stephen Shirley <diamond@google.com>
lib/cmdlib.py
lib/rpc.py