瀏覽代碼

add gateway to node response

afeiszli 4 年之前
父節點
當前提交
47f5dc95dc
共有 1 個文件被更改,包括 1 次插入0 次删除
  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,