Milan Zamazal has uploaded a new change for review. Change subject: virt: Make boolean values from boolean migration options ......................................................................
virt: Make boolean values from boolean migration options `compressed' and `autoConverge' migration options have boolean values in the string form. They must be converted to actual booleans before they are checked. Change-Id: I642eb607785a1b6f877092e187c91b7a065b38e1 Bug-Url: https://bugzilla.redhat.com/1380822 Backport-To: 4.0 Signed-off-by: Milan Zamazal <mzama...@redhat.com> --- M vdsm/virt/migration.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/07/65007/1 diff --git a/vdsm/virt/migration.py b/vdsm/virt/migration.py index bed481e..3f51c89 100644 --- a/vdsm/virt/migration.py +++ b/vdsm/virt/migration.py @@ -111,8 +111,8 @@ kwargs.get('maxBandwidth') or config.getint('vars', 'migration_max_bandwidth') ) - self._autoConverge = autoConverge - self._compressed = compressed + self._autoConverge = utils.tobool(autoConverge) + self._compressed = utils.tobool(compressed) self._incomingLimit = kwargs.get('incomingLimit') self._outgoingLimit = kwargs.get('outgoingLimit') self.status = { -- To view, visit https://gerrit.ovirt.org/65007 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I642eb607785a1b6f877092e187c91b7a065b38e1 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Milan Zamazal <mzama...@redhat.com> _______________________________________________ vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org