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

pzhukov at redhat.com pzhukov at redhat.com
Fri Apr 24 07:12:48 UTC 2015


Pavel Zhukov 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>
---
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/01/40201/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/40201
To unsubscribe, visit https://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list