mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-27 01:23:00 +08:00
ingress change
This commit is contained in:
parent
22eb39e8cd
commit
d694930aa9
1 changed files with 1 additions and 0 deletions
|
@ -707,6 +707,7 @@ func DeleteIngressGateway(network, macaddress string) (models.Node, error) {
|
||||||
}
|
}
|
||||||
node.LastModified = time.Now().Unix()
|
node.LastModified = time.Now().Unix()
|
||||||
node.IsIngressGateway = "no"
|
node.IsIngressGateway = "no"
|
||||||
|
node.IngressGatewayRange = ""
|
||||||
node.PullChanges = "yes"
|
node.PullChanges = "yes"
|
||||||
key, err := functions.GetRecordKey(node.MacAddress, node.Network)
|
key, err := functions.GetRecordKey(node.MacAddress, node.Network)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue