Fix solver startup issue 67/113667/1
authorkrishnaa96 <krishna.moorthy6@wipro.com>
Thu, 8 Oct 2020 07:09:44 +0000 (12:39 +0530)
committerkrishnaa96 <krishna.moorthy6@wipro.com>
Thu, 8 Oct 2020 07:09:44 +0000 (12:39 +0530)
Issue-ID: OPTFRA-855
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: Ib1acba8f9bfbf8cd8ba3f264ec66dc5af3253141

conductor/conductor/solver/service.py

index e147661..d565d9f 100644 (file)
@@ -198,7 +198,7 @@ class SolverService(cotyledon.Service):
     def __init__(self, worker_id, conf, **kwargs):
         """Initializer"""
 
-        LOG.debug({}.format(self.__class__.__name__))
+        LOG.debug("{}".format(self.__class__.__name__))
         super(SolverService, self).__init__(worker_id)
         self._init(conf, **kwargs)
         self.running = True
@@ -277,7 +277,7 @@ class SolverService(cotyledon.Service):
 
     def run(self):
         """Run"""
-        LOG.debug({}.format(self.__class__.__name__))
+        LOG.debug("{}".format(self.__class__.__name__))
         # TODO(snarayanan): This is really meant to be a control loop
         # As long as self.running is true, we process another request.
 
@@ -748,14 +748,14 @@ class SolverService(cotyledon.Service):
 
     def terminate(self):
         """Terminate"""
-        LOG.debug({}.format(self.__class__.__name__))
+        LOG.debug("{}".format(self.__class__.__name__))
         self.running = False
         self._gracefully_stop()
         super(SolverService, self).terminate()
 
     def reload(self):
         """Reload"""
-        LOG.debug({}.format(self.__class__.__name__))
+        LOG.debug("{}".format(self.__class__.__name__))
         self._restart()
 
     def current_time_millis(self):