mirror of https://github.com/apache/cloudstack.git
Not passing format to VolumeDataStore due to removal of format column
from volume_store_ref.
This commit is contained in:
parent
755b9311a4
commit
4611b515db
|
|
@ -205,7 +205,7 @@ public class VolumeDataStoreVO implements StateObject<ObjectInDataStoreStateMach
|
|||
public VolumeDataStoreVO(long hostId, long volumeId, Date lastUpdated,
|
||||
int downloadPercent, Status downloadState,
|
||||
String localDownloadPath, String errorString, String jobId,
|
||||
String installPath, String downloadUrl, String checksum, ImageFormat format) {
|
||||
String installPath, String downloadUrl, String checksum) {
|
||||
//super();
|
||||
this.dataStoreId = hostId;
|
||||
this.volumeId = volumeId;
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ public class DownloadMonitorImpl extends ManagerBase implements DownloadMonitor
|
|||
volumeHost = _volumeStoreDao.findByStoreVolume(store.getId(), volume.getId());
|
||||
if (volumeHost == null) {
|
||||
volumeHost = new VolumeDataStoreVO(store.getId(), volume.getId(), new Date(), 0, Status.NOT_DOWNLOADED,
|
||||
null, null, "jobid0000", null, url, checkSum, format);
|
||||
null, null, "jobid0000", null, url, checkSum);
|
||||
_volumeStoreDao.persist(volumeHost);
|
||||
} else if ((volumeHost.getJobId() != null) && (volumeHost.getJobId().length() > 2)) {
|
||||
downloadJobExists = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue