Skip to content

Commit 9a84d56

Browse files
authored
Fix-idd-restore-script-511 (#2538)
1 parent ab8b4ed commit 9a84d56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflows/cloudify_system_workflows/snapshots/restore_idd_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def get_storage_manager_instance():
5656
"""
5757
try:
5858
with _get_flask_app().app_context():
59+
config.instance.load_configuration()
5960
sm = get_storage_manager()
6061
yield sm
6162
finally:
@@ -70,7 +71,6 @@ def _get_flask_app():
7071
if value is not None:
7172
environ[envvar] = value
7273

73-
config.instance.load_configuration()
7474
app = setup_flask_app()
7575
set_admin_current_user(app)
7676
return app

0 commit comments

Comments
 (0)