download handler set no timeout

This commit is contained in:
wanyaoqi
2020-03-13 11:01:30 +08:00
parent 643a3c7e4b
commit 8ca4ecada3
2 changed files with 1 additions and 5 deletions
-3
View File
@@ -985,9 +985,6 @@ func (manager *SGuestManager) validateCreateData(
if err != nil {
return nil, httperrors.NewInputParameterError("Invalid root image: %s", err)
}
if len(diskConfig.SnapshotId) > 0 && diskConfig.DiskType != api.DISK_TYPE_SYS {
return nil, httperrors.NewBadRequestError("Snapshot error: disk index 0 but disk type is %s", diskConfig.DiskType)
}
// if len(diskConfig.Backend) == 0 {
// diskConfig.Backend = STORAGE_LOCAL