Browse Source

remove firewall requirement for ingress node

abhishek9686 10 tháng trước cách đây
mục cha
commit
4cf6771b11
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      logic/gateway.go

+ 0 - 3
logic/gateway.go

@@ -150,9 +150,6 @@ func CreateIngressGateway(netid string, nodeid string, ingress models.IngressReq
 	if host.OS != "linux" {
 		return models.Node{}, errors.New("ingress can only be created on linux based node")
 	}
-	if host.FirewallInUse == models.FIREWALL_NONE {
-		return models.Node{}, errors.New("firewall is not supported for ingress gateways")
-	}
 
 	network, err := GetParentNetwork(netid)
 	if err != nil {