[node-patches] Change in ovirt-node[ovirt-3.5]: Fix wrong import name

fabiand at redhat.com fabiand at redhat.com
Wed May 6 15:45:57 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: Fix wrong import name
......................................................................

Fix wrong import name

Wrong import was introduced in 4e06319fa7e. ImportError was raised if migrate_network_layout called.

Change-Id: I62719d86fe93053634608b3583f63bdefef1f2c0
Bug-Url: https://bugzilla.redhat.com/1215016
Signed-off-by: Pavel Zhukov <pzhukov at redhat.com>
(cherry picked from commit 865e5549d1bef9ac3aa3b5b83bbcde79b737e2b6)
---
M src/ovirt/node/config/migrate.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/17/40617/1

diff --git a/src/ovirt/node/config/migrate.py b/src/ovirt/node/config/migrate.py
index 29dd139..ed9345b 100644
--- a/src/ovirt/node/config/migrate.py
+++ b/src/ovirt/node/config/migrate.py
@@ -317,7 +317,7 @@
         return Config().exists(path)
 
     def migrate_network_layout(self):
-        from ovirt.node import defaults
+        from ovirt.node.config import defaults
         from ovirt.node.utils import network
 
         bondcfg = defaults.NicBonding().retrieve()


-- 
To view, visit https://gerrit.ovirt.org/40617
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I62719d86fe93053634608b3583f63bdefef1f2c0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Pavel Zhukov <pzhukov at redhat.com>



More information about the node-patches mailing list