updated TODO

This commit is contained in:
Marvin Zhang
2019-02-21 17:00:35 +08:00
parent 99c538f972
commit c7cf064c21

View File

@@ -35,6 +35,8 @@ class NodeApi(BaseApi):
elif id is not None:
return db_manager.get('nodes', id=id)
# TODO: use query "?status=1" to get status of nodes
# get a list of items
res = requests.get('%s/workers' % FLOWER_API_ENDPOINT)
online_node_ids = []