We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab8b4ed commit 9a84d56Copy full SHA for 9a84d56
1 file changed
workflows/cloudify_system_workflows/snapshots/restore_idd_script.py
@@ -56,6 +56,7 @@ def get_storage_manager_instance():
56
"""
57
try:
58
with _get_flask_app().app_context():
59
+ config.instance.load_configuration()
60
sm = get_storage_manager()
61
yield sm
62
finally:
@@ -70,7 +71,6 @@ def _get_flask_app():
70
71
if value is not None:
72
environ[envvar] = value
73
- config.instance.load_configuration()
74
app = setup_flask_app()
75
set_admin_current_user(app)
76
return app
0 commit comments