Martin Sivák has uploaded a new change for review.
Change subject: Fix libvirt's getSchedulerParameters call
......................................................................
Fix libvirt's getSchedulerParameters call
Python 2.6 does not support the short {} syntax for sets.
Change-Id: Icb4ef21f8d56363511460667dac359bf7e8b36a7
Signed-off-by: Martin Sivak <[email protected]>
---
M mom/HypervisorInterfaces/libvirtInterface.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/mom refs/changes/44/28044/1
diff --git a/mom/HypervisorInterfaces/libvirtInterface.py
b/mom/HypervisorInterfaces/libvirtInterface.py
index e29333d..0cd16ce 100644
--- a/mom/HypervisorInterfaces/libvirtInterface.py
+++ b/mom/HypervisorInterfaces/libvirtInterface.py
@@ -257,7 +257,7 @@
ret['vcpu_user_limit'] = 100
# Retrieve the current cpu tuning params
- ret.update(domain.getSchedulerParameters({ 'vcpu_quota',
'vcpu_period'}))
+ ret.update(domain.getSchedulerParameters(('vcpu_quota',
'vcpu_period')))
if ret['vcpu_quota'] == None:
ret['vcpu_quota'] = -1
--
To view, visit http://gerrit.ovirt.org/28044
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb4ef21f8d56363511460667dac359bf7e8b36a7
Gerrit-PatchSet: 1
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches