From 55ead5b77f6d84bd0d0eab67776d8cc37785df8c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sat, 2 Feb 2019 11:47:43 -0800 Subject: [PATCH] zilencer: Fix buggy validation of installation_counts upload. This was a simple copy-paste error. It's probably worth a bit more work on code duplication in this code path. --- zilencer/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zilencer/views.py b/zilencer/views.py index 21acaec364328..95e6554cad0fb 100644 --- a/zilencer/views.py +++ b/zilencer/views.py @@ -184,7 +184,7 @@ def remote_server_post_analytics(request: HttpRequest, server = cast(RemoteZulipServer, entity) validate_count_stats(server, RemoteRealmCount, realm_counts) - validate_count_stats(server, RemoteInstallationCount, realm_counts) + validate_count_stats(server, RemoteInstallationCount, installation_counts) BATCH_SIZE = 1000 while len(realm_counts) > 0: