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 de09d72 commit 1ba289c
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 @@ -533,6 +533,7 @@ func (c *Controller) changeVMSubnet(vmName, namespace, providerName, subnetName
return err
}
}
c.updateSubnetStatusQueue.Add(ipCR.Spec.Subnet)

Check failure on line 536 in pkg/controller/pod.go

View workflow job for this annotation

GitHub Actions / Build arm64

undefined: ipCR

Check failure on line 536 in pkg/controller/pod.go

View workflow job for this annotation

GitHub Actions / Build kube-ovn

undefined: ipCR
// handleAddOrUpdatePod will create new lsp and new ip cr
}
return nil
Expand Down

0 comments on commit 1ba289c

Please sign in to comment.