Skip to content

Commit

Permalink
Fix minor issue with deny list reporting.
Browse files Browse the repository at this point in the history
Signed-off-by: Wade Barnes <[email protected]>
  • Loading branch information
WadeBarnes committed Mar 20, 2021
1 parent 2e55747 commit 03c62ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch-validator-status/plugins/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ async def detect_issues(self, jsval: any, node: str, primary: str) -> Tuple[any,

# Denylisted Nodes
if len(jsval["result"]["data"]["Pool_info"]["Blacklisted_nodes"]) > 0:
warnings.append("Denylisted Nodes: {1}".format(jsval["result"]["data"]["Pool_info"]["Blacklisted_nodes"]))
warnings.append("Denylisted Nodes: {0}".format(jsval["result"]["data"]["Pool_info"]["Blacklisted_nodes"]))
else:
if "reason" in jsval:
errors.append(jsval["reason"])
Expand Down

0 comments on commit 03c62ba

Please sign in to comment.