Skip to content

Commit dcea74e

Browse files
Comment added
1 parent 4246ab3 commit dcea74e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtDeleteStoragePoolCommandWrapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public final class LibvirtDeleteStoragePoolCommandWrapper extends CommandWrapper
4141
@Override
4242
public Answer execute(final DeleteStoragePoolCommand command, final LibvirtComputingResource libvirtComputingResource) {
4343
try {
44+
// if getRemoveDatastore() is true, then we are dealing with managed storage and can skip the delete logic here
4445
if (!command.getRemoveDatastore()) {
4546
handleStoragePoolDeletion(command, libvirtComputingResource);
4647
}

0 commit comments

Comments
 (0)