We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 09552f0 + 8605e94 commit 7f39c21Copy full SHA for 7f39c21
1 file changed
gitopscli/commands/sync_apps.py
@@ -83,7 +83,7 @@ def __sync_apps(apps_git, root_git):
83
__check_if_app_already_exists(repo_apps, apps_from_other_repos)
84
85
logging.info("Sync applications in root repository's %s.", apps_config_file_name)
86
- merge_yaml_element(apps_config_file, "applications", dict.fromkeys(repo_apps, {}), True)
+ merge_yaml_element(apps_config_file, "applications", {repo_app: {} for repo_app in repo_apps}, True)
87
__commit_and_push(apps_git, root_git, apps_config_file_name)
88
89
0 commit comments