Browse Source

add gateway to node response

afeiszli 4 years ago
parent
commit
47f5dc95dc
1 changed files with 1 additions and 0 deletions
  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,
 			Checkininterval: node.CheckInInterval,
 			Dnsoff:          !servercfg.IsDNSMode(),
 			Dnsoff:          !servercfg.IsDNSMode(),
 			Ispending:       node.IsPending,
 			Ispending:       node.IsPending,
+			Isingressgateway:       node.IsIngressGateway,
 			Publickey:       node.PublicKey,
 			Publickey:       node.PublicKey,
 			Listenport:      node.ListenPort,
 			Listenport:      node.ListenPort,
 			Keepalive:       node.PersistentKeepalive,
 			Keepalive:       node.PersistentKeepalive,