mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-29 14:55:59 +00:00
Render total introducers
This commit is contained in:
parent
2f53b2a67d
commit
89980a039c
@ -384,8 +384,9 @@ class RootElement(Element):
|
||||
else:
|
||||
return tag("%s introducers connected" % (connected_count,))
|
||||
|
||||
def data_total_introducers(self, ctx, data):
|
||||
return len(self.client.introducer_connection_statuses())
|
||||
@renderer
|
||||
def total_introducers(self, req, tag):
|
||||
return tag(str(self.client.introducer_connection_statuses()))
|
||||
|
||||
# In case we configure multiple introducers
|
||||
def data_introducers(self, ctx, data):
|
||||
|
Loading…
x
Reference in New Issue
Block a user