Initialized outputs outside of manageLifecycle
This commit is contained in:
@@ -6,12 +6,11 @@ from core.apirequest.execute import getSession
|
|||||||
from core.execution.lifecyclemanager.lifecycleregistry import registerLifecycle
|
from core.execution.lifecyclemanager.lifecycleregistry import registerLifecycle
|
||||||
|
|
||||||
lifecycles = {}
|
lifecycles = {}
|
||||||
|
outputs = {}
|
||||||
|
|
||||||
def manageLifecycle(module):
|
def manageLifecycle(module):
|
||||||
lifecycle_log = os.environ.get("LOGS_LIFECYCLE", "false").lower() == "true"
|
lifecycle_log = os.environ.get("LOGS_LIFECYCLE", "false").lower() == "true"
|
||||||
|
|
||||||
outputs = {}
|
|
||||||
|
|
||||||
registerLifecycle (module, lifecycles)
|
registerLifecycle (module, lifecycles)
|
||||||
|
|
||||||
if lifecycles[module.name]["mode"] == "continuous":
|
if lifecycles[module.name]["mode"] == "continuous":
|
||||||
|
|||||||
Reference in New Issue
Block a user