Skip to content

Commit ecba1b3

Browse files
committed
fix test
1 parent cc924c5 commit ecba1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ private void transferClvmLocksForVmStart(List<VolumeVO> volumes, Long destHostId
884884
}
885885

886886
StoragePoolVO pool = _storagePoolDao.findById(volume.getPoolId());
887-
if (pool == null || pool.getPoolType() != Storage.StoragePoolType.CLVM || pool.getPoolType() != Storage.StoragePoolType.CLVM_NG) {
887+
if (pool == null || (pool.getPoolType() != Storage.StoragePoolType.CLVM && pool.getPoolType() != Storage.StoragePoolType.CLVM_NG)) {
888888
continue;
889889
}
890890

0 commit comments

Comments
 (0)