Ondřej Svoboda has uploaded a new change for review.
Change subject: api: correct the order of parameters in _bridge_reconfigured
......................................................................
api: correct the order of parameters in _bridge_reconfigured
The wrong order was harmless because both parameters are passed to !=
which is commutative.
Change-Id: I2326fffabaffeadc796b492ffe575a669a46b727
Signed-off-by: Ondřej Svoboda <osvoboda(a)redhat.com>
---
M vdsm/network/api.py
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/56/38256/1
diff --git a/vdsm/network/api.py b/vdsm/network/api.py
index 2706cfe..45c16c7 100755
--- a/vdsm/network/api.py
+++ b/vdsm/network/api.py
@@ -752,9 +752,9 @@
(k, v) for k, v in conf.iteritems()
if k not in ('bonding', 'nic', 'mtu'))
- def _bridge_reconfigured(required_conf, current_conf):
- return (_bridge_only_config(required_conf) !=
- _bridge_only_config(current_conf))
+ def _bridge_reconfigured(current_conf, required_conf):
+ return (_bridge_only_config(current_conf) !=
+ _bridge_only_config(required_conf))
if currently_bridged and _bridge_reconfigured(network_running_config,
network_attrs):
--
To view, visit
https://gerrit.ovirt.org/38256
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2326fffabaffeadc796b492ffe575a669a46b727
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda(a)redhat.com>