From 34f9514e8e825675405fdabe09e94da98821d9e5 Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Thu, 8 Oct 2020 12:39:44 +0530 Subject: Fix solver startup issue Issue-ID: OPTFRA-855 Signed-off-by: krishnaa96 Change-Id: Ib1acba8f9bfbf8cd8ba3f264ec66dc5af3253141 --- conductor/conductor/solver/service.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conductor/conductor/solver/service.py b/conductor/conductor/solver/service.py index e147661..d565d9f 100644 --- a/conductor/conductor/solver/service.py +++ b/conductor/conductor/solver/service.py @@ -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): -- cgit 1.2.3-korg