Explorar o código

add gateway to node response

afeiszli %!s(int64=4) %!d(string=hai) anos
pai
achega
47f5dc95dc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      controllers/nodeGrpcController.go

+ 1 - 0
controllers/nodeGrpcController.go

@@ -61,6 +61,7 @@ func (s *NodeServiceServer) ReadNode(ctx context.Context, req *nodepb.ReadNodeRe
 			Checkininterval: node.CheckInInterval,
 			Dnsoff:          !servercfg.IsDNSMode(),
 			Ispending:       node.IsPending,
+			Isingressgateway:       node.IsIngressGateway,
 			Publickey:       node.PublicKey,
 			Listenport:      node.ListenPort,
 			Keepalive:       node.PersistentKeepalive,