diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2020-10-08 12:39:44 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2020-10-08 12:39:44 +0530 |
commit | 34f9514e8e825675405fdabe09e94da98821d9e5 (patch) | |
tree | 7d5b446fef0ab4a7a60c119019a941664b7a46ed | |
parent | 231252b878029f8d2ec2859bf2d60212f350db32 (diff) |
Fix solver startup issue
Issue-ID: OPTFRA-855
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: Ib1acba8f9bfbf8cd8ba3f264ec66dc5af3253141
-rw-r--r-- | conductor/conductor/solver/service.py | 8 |
1 files 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): |