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:
Blake Harnden 2020-07-01 15:20:53 -07:00
parent a870c15b43
commit e549830e33

View file

@ -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)