mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-31 02:38:07 +08:00
Automatic merge from release/2.4.0 -> release/2.5.0
* commit '25465096a7d8b3c4d4b5935bf0b3e42c75b4b2cc': 补充esix缺失的ValidateDiskSize
This commit is contained in:
@@ -26,6 +26,10 @@ func (self *SESXiHostDriver) GetHostType() string {
|
||||
return models.HOST_TYPE_ESXI
|
||||
}
|
||||
|
||||
func (self *SESXiHostDriver) ValidateDiskSize(storage *models.SStorage, sizeGb int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (self *SESXiHostDriver) CheckAndSetCacheImage(ctx context.Context, host *models.SHost, storageCache *models.SStoragecache, task taskman.ITask) error {
|
||||
params := task.GetParams()
|
||||
imageId, err := params.GetString("image_id")
|
||||
|
||||
Reference in New Issue
Block a user