mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-06 21:52:54 +08:00
fix(region): vendor update for support gcp global lb sync (#20711)
This commit is contained in:
@@ -1146,6 +1146,10 @@ func (lb *SLoadbalancer) syncRemoveCloudLoadbalancer(ctx context.Context, userCr
|
||||
if err != nil { // cannot delete
|
||||
return lb.SetStatus(ctx, userCred, api.LB_STATUS_UNKNOWN, "sync to delete")
|
||||
}
|
||||
err = lb.DeleteEip(ctx, userCred, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
notifyclient.EventNotify(ctx, userCred, notifyclient.SEventNotifyParam{
|
||||
Obj: lb,
|
||||
Action: notifyclient.ActionSyncDelete,
|
||||
|
||||
Reference in New Issue
Block a user