Skip to content

Commit

Permalink
zilencer: Fix buggy validation of installation_counts upload.
Browse files Browse the repository at this point in the history
This was a simple copy-paste error.  It's probably worth a bit more
work on code duplication in this code path.
  • Loading branch information
timabbott committed Feb 2, 2019
1 parent 4fef10f commit 55ead5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zilencer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 55ead5b

Please sign in to comment.