grpc: fixed accidental breakage for get_session ptp links

This commit is contained in:
Blake Harnden 2020-06-30 16:16:58 -07:00
parent 4a0fdf3307
commit f22edd1d25

View file

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