mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: upsert-validator show returning the response message, rather than printing it to stdout
Solution: Sent it to `logger.info` instead
This commit is contained in:
parent
a307c531c3
commit
4a08abf4e8
@ -211,7 +211,7 @@ def run_upsert_validator_show(args, bigchain):
|
||||
node_id = new_validator['node_id']
|
||||
status = election.get_status(bigchain)
|
||||
|
||||
return f'public_key={public_key}\npower={power}\nnode_id={node_id}\nstatus={status}'
|
||||
logger.info(f'public_key={public_key}\npower={power}\nnode_id={node_id}\nstatus={status}')
|
||||
|
||||
|
||||
def _run_init():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user