Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: persist.py: Replace ovirtfunctions to utils
......................................................................

persist.py: Replace ovirtfunctions to utils

We are splitting and rewritting ovirtfunctions into
new improved codes instead of one big source file
which is easier to track issues and maintain.

Change-Id: I4b24131bbddbcc0df9454cc617620cd9aff09c8d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1128033
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M src/plugins/ovirt-host-deploy/node/persist.py
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/90/33090/1

diff --git a/src/plugins/ovirt-host-deploy/node/persist.py 
b/src/plugins/ovirt-host-deploy/node/persist.py
index 1f339d8..714953b 100644
--- a/src/plugins/ovirt-host-deploy/node/persist.py
+++ b/src/plugins/ovirt-host-deploy/node/persist.py
@@ -48,14 +48,15 @@
         ],
     )
     def _closeup(self):
-        from ovirtnode import ovirtfunctions
+        from ovirt.node import utils
+        from ovirt.node.utils.fs import Config
 
         for f in (
             [odeploycons.FileLocations.VDSM_ID_FILE] +
             self.environment[otopicons.CoreEnv.MODIFIED_FILES]
         ):
             self.logger.debug('persisting: %s' % f)
-            ovirtfunctions.ovirt_store_config(f)
+            utils.fs.Config().persist(f)
 
 
 # vim: expandtab tabstop=4 shiftwidth=4


-- 
To view, visit http://gerrit.ovirt.org/33090
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b24131bbddbcc0df9454cc617620cd9aff09c8d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to