Use simpleconfig instead of ssconf.
---
 daemons/ganeti-masterd |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/daemons/ganeti-masterd b/daemons/ganeti-masterd
index 30d4861..6b5e955 100755
--- a/daemons/ganeti-masterd
+++ b/daemons/ganeti-masterd
@@ -49,7 +49,7 @@ from ganeti import locking
 from ganeti import luxi
 from ganeti import utils
 from ganeti import errors
-from ganeti import ssconf
+from ganeti import simpleconfig
 from ganeti import logger
 from ganeti import workerpool
 from ganeti import rpc
@@ -419,7 +419,7 @@ def main():
   utils.debug = options.debug
   utils.no_fork = True
 
-  ssconf.CheckMaster(options.debug)
+  simpleconfig.CheckMaster(options.debug)
 
   # we believe we are the master, let's ask the other nodes...
   if not CheckAgreement():
@@ -440,7 +440,7 @@ def main():
   logging.info("ganeti master daemon startup")
 
   # activate ip
-  master_node = ssconf.SimpleStore().GetMasterNode()
+  master_node = simpleconfig.SimpleConfigReader().GetMasterNode()
   if not rpc.call_node_start_master(master_node, False):
     logging.error("Can't activate master IP address")
 
-- 
1.6.0.2

Reply via email to