Commit 01fb8562 authored by Thomas Phil's avatar Thomas Phil

fix cloud

parent c3eaa32e
......@@ -30,6 +30,8 @@ class RunResourceManager(Command):
if hasattr(CloudDomain.cloudService(), 'start_reactor'): # ugly way for instantiating salt reactor
CloudDomain.cloudService().start_reactor() # salt reactor really shouldn't be initialised here
else:
self.warning('No reactor, this is ok if you are running the mockcloud.')
if hasattr(strongr.core.Core.config(), 'celery'): # don't load celery if it's not configured
celery = Celery('strongr', broker=strongr.core.Core.config().celery.broker, backend=strongr.core.Core.config().celery.backend)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment