Commit 84e3f66f authored by Guido Trotter's avatar Guido Trotter
Browse files

Fix rpc.call_os_get to actually return the OS

Since nobody ever read the actual OS object, this bug was introduced in
the rpc conversion.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarOlivier Tharan <>
parent 2f2dbb4b
......@@ -910,8 +910,8 @@ class RpcRunner(object):
result = self._SingleNodeCall(node, "os_get", [name])
if not result.fail_msg and isinstance(, dict): = objects.OS.FromDict(
if not result.fail_msg and isinstance(result.payload, dict):
result.payload = objects.OS.FromDict(result.payload)
return result
def call_hooks_runner(self, node_list, hpath, phase, env):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment