Skip to content

Commit 018e556

Browse files
author
Glover, Rene (rg9975)
committed
address PR comments from @sureshanaparti
2 parents 42780e7 + c55dfc9 commit 018e556

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ private VolumeInfo createTemporaryVolumeCopyOfSnapshotAdaptive(SnapshotInfo snap
935935
try {
936936
tempVolumeVO = new VolumeVO(Volume.Type.DATADISK, snapshotInfo.getName() + "_" + System.currentTimeMillis() + ".TMP",
937937
snapshotInfo.getDataCenterId(), snapshotInfo.getDomainId(), snapshotInfo.getAccountId(), 0, ProvisioningType.THIN, snapshotInfo.getSize(), 0L, 0L, "");
938-
tempVolumeVO.setPoolId(snapshotInfo.getDataStore().getId());
938+
tempVolumeVO.setPoolId(snapshotInfo.getDataStore().getId());
939939
_volumeDao.persist(tempVolumeVO);
940940
tempVolumeInfo = this._volFactory.getVolume(tempVolumeVO.getId());
941941

framework/spring/module/src/main/java/org/apache/cloudstack/spring/module/model/impl/DefaultModuleDefinitionSet.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public void with(ModuleDefinition def, Stack<ModuleDefinition> parents) {
103103
try {
104104
if (context == null) {
105105
log.warn(String.format("Application context not found for module definition [%s]", moduleDefinitionName));
106-
107106
} else if (context.containsBean("moduleStartup")) {
108107
Runnable runnable = context.getBean("moduleStartup", Runnable.class);
109108
log.info(String.format("Starting module [%s].", moduleDefinitionName));

0 commit comments

Comments
 (0)