在线更改配置,不需要等待虚机状态为ready

This commit is contained in:
屈轩
2018-11-13 10:26:33 +08:00
parent 737894f5cb
commit 008d6f10f5
-7
View File
@@ -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
}