slavkap commented on code in PR #9270: URL: https://github.com/apache/cloudstack/pull/9270#discussion_r1727023078
########## engine/storage/volume/src/main/java/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java: ########## @@ -504,10 +504,10 @@ public Void deleteVolumeCallback(AsyncCallbackDispatcher<VolumeServiceImpl, Comm if (!supportsStorageSystemSnapshots) { _snapshotStoreDao.remove(snapStoreVo.getId()); } - } else { - if (!StoragePoolType.StorPool.equals(storagePoolVO.getPoolType())) { - _snapshotStoreDao.remove(snapStoreVo.getId()); - } + } else if (HypervisorType.KVM.equals(vo.getHypervisorType())) { Review Comment: @JoaoJandre, thank you for the change! Yes, StorPool is managed storage but the plugin was introduced this way. The `managed` option affects us only here (for now). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org