1
0
Fork 0

Get nodes/ for all nodes.

It makes testing easier, and this flag is tested in unit tests.
master
Philip O'Toole 3 years ago
parent 0f716dbc4d
commit 5d8fafab98

@ -255,7 +255,7 @@ class Node(object):
def _status_url(self):
return 'http://' + self.APIAddr() + '/status'
def _nodes_url(self):
return 'http://' + self.APIAddr() + '/nodes'
return 'http://' + self.APIAddr() + '/nodes?nonvoters' ## Getting all nodes back makes testing easier
def _expvar_url(self):
return 'http://' + self.APIAddr() + '/debug/vars'
def _query_url(self):

Loading…
Cancel
Save