Skip to content

Commit

Permalink
fix u2o infinity recycle
Browse files Browse the repository at this point in the history
Signed-off-by: changluyi <[email protected]>
  • Loading branch information
changluyi committed Dec 22, 2023
1 parent 32604cf commit db2aeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (c *Controller) enqueueUpdateSubnet(oldObj, newObj interface{}) {
}

u2oInterconnIP = newSubnet.Status.U2OInterconnectionIP
if !newSubnet.DeletionTimestamp.IsZero() && usingIPs == 0 || (usingIPs == 1 && u2oInterconnIP != "") {
if !newSubnet.DeletionTimestamp.IsZero() && (usingIPs == 0 || (usingIPs == 1 && u2oInterconnIP != "")) {
c.addOrUpdateSubnetQueue.Add(key)
return
}
Expand Down

0 comments on commit db2aeeb

Please sign in to comment.