[tor-commits] [doctor/master] Dropping Tonga from checks

atagar at torproject.org atagar at torproject.org
Mon Oct 14 15:36:06 UTC 2013


commit 30a40e7014aea5c32658bc2f31bf1f53721c9af1
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Oct 14 08:34:55 2013 -0700

    Dropping Tonga from checks
    
    We were downloading Tonga's consensus but not its vote so it would be included
    in checks for the former but not later. Up side is that this checked that Tonga
    was up and healthy (still important since it's an authority, even it it doesn't
    vote). But this is already covered by 'descriptor_checker.py'.
    
    This is in response to...
    
    https://lists.torproject.org/pipermail/tor-dev/2013-October/005618.html
---
 consensus_health_checker.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consensus_health_checker.py b/consensus_health_checker.py
index 02149da..8a3a9c9 100755
--- a/consensus_health_checker.py
+++ b/consensus_health_checker.py
@@ -575,7 +575,7 @@ def _get_documents(label, resource):
   queries, documents, issues = {}, {}, []
 
   for authority in DIRECTORY_AUTHORITIES.values():
-    if label == 'vote' and authority.v3ident is None:
+    if authority.v3ident is None:
       continue  # not a voting authority
 
     queries[authority.nickname] = downloader.query(



More information about the tor-commits mailing list