Skip to content

Commit

Permalink
fix: should update subnet status after change vm subnet (#4061)
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <zhangbingbing2_yewu@cmss.chinamobile.com>
  • Loading branch information
bobz965 committed May 22, 2024
1 parent e252ca7 commit 7bec212
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ func (c *Controller) changeVMSubnet(vmName, namespace, providerName, subnetName
return err
}
}
c.updateSubnetStatusQueue.Add(ipCr.Spec.Subnet)
// handleAddOrUpdatePod will create new lsp and new ip cr later
}
return nil
Expand Down

0 comments on commit 7bec212

Please sign in to comment.