mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
在线更改配置,不需要等待虚机状态为ready
This commit is contained in:
@@ -549,13 +549,6 @@ func (self *SAliyunGuestDriver) RequestChangeVmConfig(ctx context.Context, guest
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
log.Debugf("VMchangeConfig %s, wait status ready ...", iVM.GetGlobalId())
|
||||
err = cloudprovider.WaitStatus(iVM, models.VM_READY, time.Second*5, time.Second*300)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Debugf("VMchangeConfig %s, and status is ready", iVM.GetGlobalId())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user