[node-patches] Change in ovirt-node[master]: network: Fix Bonding.delete_all()
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Thu Aug 29 13:26:48 UTC 2013
Fabian Deutsch has submitted this change and it was merged.
Change subject: network: Fix Bonding.delete_all()
......................................................................
network: Fix Bonding.delete_all()
Previously the class tried to read a file which is only available when
the bonding module is loaded. This could lead to an exception when there
was a "greedy" call to Bonding.delete_all() (so not checking if bonding
was enabled at all).
This is onw fixed by only reading the file when bonding is enabled.
Change-Id: Iba592a6e02fd036283fec899e9081edabc941e2b
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/network.py
1 file changed, 4 insertions(+), 1 deletion(-)
Approvals:
Fabian Deutsch: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/18684
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iba592a6e02fd036283fec899e9081edabc941e2b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the node-patches
mailing list