You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/10/28 05:57:39 UTC

[GitHub] merlimat closed pull request #2871: In dashboard, class ActiveBroker don't have attribute url

merlimat closed pull request #2871: In dashboard, class ActiveBroker don't have attribute url
URL: https://github.com/apache/pulsar/pull/2871
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dashboard/django/stats/models.py b/dashboard/django/stats/models.py
index 11bd23d334..637036da45 100644
--- a/dashboard/django/stats/models.py
+++ b/dashboard/django/stats/models.py
@@ -50,7 +50,7 @@ class ActiveBroker(Model):
     timestamp = BigIntegerField(db_index=True)
 
     def __str__(self):
-        return self.url
+        return self.broker.url
 
 @python_2_unicode_compatible
 class Property(Model):


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services