Commit 7bc9e58f authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: fix GatherMasterVotes

Remove unused vars

Reviewed-by: amishchenko
parent 531baf8e
......@@ -430,8 +430,6 @@ def GatherMasterVotes(node_list):
# this should not happen (unless internal error in rpc)
logging.critical("Can't complete rpc call, aborting master startup")
return [(None, len(node_list))]
positive = negative = 0
other_masters = {}
votes = {}
for node in results:
nres = results[node]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment