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>
Fri, 4 Mar 2011 10:41:22 +0000 (11:41 +0100)
commit4ae52cc6d45cd9844a55ba37ead5b1170549d7cc
tree0eaa0e69910f30c2d4ce27c1c150d3969fc8a2fd
parentbe9f49041e430c49125a7ea681d98d3c6fa5463c
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>
(cherry picked from commit ccfbbd2d1546b4f57d5bfeb115573967f7fb558b)
lib/cmdlib.py
lib/rpc.py