Change in vdsm[master]: numa: work around defaultdict marshalling for xmlrpc
osvoboda at redhat.com
osvoboda at redhat.com
Wed Mar 2 22:31:24 UTC 2016
Ondřej Svoboda has uploaded a new change for review.
Change subject: numa: work around defaultdict marshalling for xmlrpc
......................................................................
numa: work around defaultdict marshalling for xmlrpc
vdsClient -s 0 getVdsCaps would now fail with
cannot marshal <type 'collections.defaultdict'> objects
Change-Id: I83c85fa396cebbc93b1eb625132b218aee1119a9
Signed-off-by: Ondřej Svoboda <osvoboda at redhat.com>
---
M lib/vdsm/numa.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/83/54283/1
diff --git a/lib/vdsm/numa.py b/lib/vdsm/numa.py
index c196e0b..6a215d0 100644
--- a/lib/vdsm/numa.py
+++ b/lib/vdsm/numa.py
@@ -98,7 +98,7 @@
'onlineCpus': online_cpus,
}
- return NumaTopology(topology, distances, cpu_topology)
+ return NumaTopology(dict(topology), dict(distances), cpu_topology)
def memory_by_cell(index):
--
To view, visit https://gerrit.ovirt.org/54283
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83c85fa396cebbc93b1eb625132b218aee1119a9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
More information about the vdsm-patches
mailing list