diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2017-07-25 17:34:31 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2017-07-25 17:34:31 +0200 |
commit | 5ca6d2dc2807887de49d5ce556f71c32840549f0 (patch) | |
tree | 52f63288f70d7b4b5d2a79939a2c4d5c1bd3ca2e | |
parent | 210e2240ce80fc38809649991f07f0dee297eb6a (diff) |
resource: Fix ovirt_resource_rest_call_sync return value
Upon success, ovirt_resource_rest_call_sync() was always returning
NULL, which is not what is expected. This, among other things, made
ovirt_resource_refresh() non-functional.
-rw-r--r-- | govirt/ovirt-resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/govirt/ovirt-resource.c b/govirt/ovirt-resource.c index 1413a77..0c750ac 100644 --- a/govirt/ovirt-resource.c +++ b/govirt/ovirt-resource.c @@ -499,7 +499,7 @@ G_GNUC_INTERNAL RestXmlNode *ovirt_resource_rest_call_sync(OvirtRestCall *call, return NULL; } - return root; + return ovirt_rest_xml_node_from_call(REST_PROXY_CALL(call)); } |