rpc.ConfigRunner: Fix uploading file
authorMichael Hanselmann <hansmi@google.com>
Fri, 6 Jan 2012 12:29:41 +0000 (13:29 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 6 Jan 2012 12:36:26 +0000 (13:36 +0100)
commitc2dc025a15af4a9acfb6116144aba4d6f234342b
tree117b395a5afa19434f2bfce39c23a0a49e8e3c89
parent30a83755c34e058b685bcad6364d318479c3f179
rpc.ConfigRunner: Fix uploading file

Commit 601dfcb made some changes to the default encoders. This made
“ConfigRunner.call_upload_file” fail due to a missing encoder. This
patch applies the necessary changes to ConfigRunner and updates the
unittest for “call_upload_file”.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/rpc.py
test/ganeti.rpc_unittest.py