core-cli: fix to avoid errors for querying nodes with peer to peer links, until there is a proper way to get the other ends node name
This commit is contained in:
parent
a870c15b43
commit
e549830e33
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ def query_node(core: CoreGrpcClient, args: Namespace) -> None:
|
|||
else:
|
||||
name = names[iface.net2_id]
|
||||
else:
|
||||
name = names[iface.net_id]
|
||||
name = names.get(iface.net_id, "")
|
||||
print(f"{name:<12} | ", end="")
|
||||
print_iface(iface)
|
||||
|
||||
|
|
Loading…
Reference in a new issue