Skip to content

Commit

Permalink
fix update node to persist inet info
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek9686 committed Feb 22, 2024
1 parent 5833611 commit 2ad6cbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/api_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func (a *ApiNode) ConvertToServerNode(currentNode *Node) *Node {
convertedNode.IsInternetGateway = a.IsInternetGateway
convertedNode.EgressGatewayRequest = currentNode.EgressGatewayRequest
convertedNode.EgressGatewayNatEnabled = currentNode.EgressGatewayNatEnabled
convertedNode.InternetGwID = currentNode.InternetGwID
convertedNode.InetNodeReq = currentNode.InetNodeReq
convertedNode.RelayedNodes = a.RelayedNodes
convertedNode.DefaultACL = a.DefaultACL
convertedNode.OwnerID = currentNode.OwnerID
Expand Down

0 comments on commit 2ad6cbc

Please sign in to comment.