This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new ce8f60a  Count distinct bundles (#4637)
ce8f60a is described below

commit ce8f60a3f786f66e8ca18acd48bb9db3245ec8bd
Author: rshermanTHG <[email protected]>
AuthorDate: Fri Jun 28 19:29:18 2019 +0100

    Count distinct bundles (#4637)
---
 dashboard/django/stats/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dashboard/django/stats/views.py b/dashboard/django/stats/views.py
index 338d08a..fe6011b 100644
--- a/dashboard/django/stats/views.py
+++ b/dashboard/django/stats/views.py
@@ -230,7 +230,7 @@ def brokers_cluster(request, cluster_name):
                 )
 
     brokers = brokers.annotate(
-        numBundles       = Count('topic__bundle'),
+        numBundles       = Count('topic__bundle', True),
         numTopics        = Count('topic'),
         numProducers     = Sum('topic__producerCount'),
         numSubscriptions = Sum('topic__subscriptionCount'),

Reply via email to