mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-25 10:16:12 +08:00
fix(region): wait vm deleted (#18262)
This commit is contained in:
@@ -867,6 +867,8 @@ func (drv *SManagedVirtualizedGuestDriver) RequestUndeployGuestOnHost(ctx contex
|
||||
return nil, errors.Wrapf(err, "ivm.DeleteVM")
|
||||
}
|
||||
|
||||
cloudprovider.WaitDeleted(ivm, time.Second*10, time.Minute*3)
|
||||
|
||||
disks, err := guest.GetDisks()
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "GetDisks")
|
||||
|
||||
Reference in New Issue
Block a user