mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-01 21:41:51 +08:00
Automatic merge from release/2.2.0 -> release/2.3.0
* commit '81b6682559969900b349d2c90c3498699a54f106': 在线更改配置,不需要等待虚机状态为ready
This commit is contained in:
@@ -3,7 +3,6 @@ package guestdrivers
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"yunion.io/x/jsonutils"
|
||||
"yunion.io/x/log"
|
||||
@@ -303,13 +302,6 @@ func (self *SManagedVirtualizedGuestDriver) RequestChangeVmConfig(ctx context.Co
|
||||
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