Skip to content

Commit

Permalink
another paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkasun authored Aug 15, 2023
1 parent 5fa561d commit 19c6de4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions controllers/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ func convertLegacyNode(legacy models.LegacyNode, hostID uuid.UUID) models.Node {
node.LastModified = time.Now()
node.ExpirationDateTime, _ = time.Parse(strconv.Itoa(int(legacy.ExpirationDateTime)), "0")
node.EgressGatewayNatEnabled = models.ParseBool(legacy.EgressGatewayNatEnabled)
node.EgressGatewayRequest = legacy.EgressGatewayRequestnode.PersistentKeepalive = time.Duration(int64(time.Millisecond) * int64(legacy.PersistentKeepalive*1000))

node.EgressGatewayRequest = legacy.EgressGatewayRequest
node.IngressGatewayRange = legacy.IngressGatewayRange
node.IngressGatewayRange6 = legacy.IngressGatewayRange6
node.DefaultACL = legacy.DefaultACL
Expand Down

0 comments on commit 19c6de4

Please sign in to comment.