From f07b08075bc10e5d13593e08a794e74b5a2c9c32 Mon Sep 17 00:00:00 2001 From: Noah Canadea Date: Sun, 3 Dec 2023 15:53:06 +0000 Subject: [PATCH] fix(provider_handler): Fix dict value assignment. --- infrapatch/core/provider_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrapatch/core/provider_handler.py b/infrapatch/core/provider_handler.py index 0fe8966..268b3bd 100644 --- a/infrapatch/core/provider_handler.py +++ b/infrapatch/core/provider_handler.py @@ -140,7 +140,7 @@ def get_markdown_table_for_changed_resources(self) -> dict[str, MarkdownTableWri if len(changed_resources) == 0: log.debug(f"No changed resources found for provider {provider_name}. Skipping.") continue - markdown_tables[provider_name](provider.get_markdown_table(changed_resources)) + markdown_tables[provider_name] = provider.get_markdown_table(changed_resources) return markdown_tables def set_resources_patched_based_on_existing_resources(self, original_resources: dict[str, Sequence[VersionedResource]]) -> None: