From 3d665f4ba6006888d02d19e0f360fa37da6ca301 Mon Sep 17 00:00:00 2001 From: Oliver Browne Date: Wed, 31 Jul 2024 18:53:55 +0300 Subject: [PATCH] fix: dry run output was inaccurate (#24075) --- .../commands/change_plugin_config_referenced_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/management/commands/change_plugin_config_referenced_plugin.py b/posthog/management/commands/change_plugin_config_referenced_plugin.py index 32b1984e5c593..3c275bb4db9e3 100644 --- a/posthog/management/commands/change_plugin_config_referenced_plugin.py +++ b/posthog/management/commands/change_plugin_config_referenced_plugin.py @@ -51,4 +51,4 @@ def handle(self, *args, **options): updated = found_configs.update(plugin=new_plugin) print(f"Updated {updated} rows") # noqa T201 else: - print(f"Would update {len(target_ids)} rows") # noqa T201 + print(f"Would update {len(found_configs)} rows") # noqa T201