grpc: fixed accidental breakage for get_session ptp links
This commit is contained in:
parent
4a0fdf3307
commit
f22edd1d25
1 changed files with 3 additions and 4 deletions
|
@ -543,8 +543,7 @@ class CoreGrpcServer(core_pb2_grpc.CoreApiServicer):
|
|||
nodes = []
|
||||
for _id in session.nodes:
|
||||
node = session.nodes[_id]
|
||||
if isinstance(node, PtpNet):
|
||||
continue
|
||||
if not isinstance(node, PtpNet):
|
||||
node_proto = grpcutils.get_node_proto(session, node)
|
||||
nodes.append(node_proto)
|
||||
node_links = get_links(node)
|
||||
|
|
Loading…
Reference in a new issue