Skip to content

Commit 93686c7

Browse files
committed
fix condition :facepalm
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent bb60c88 commit 93686c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCleanupVMCommandWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class CitrixCleanupVMCommandWrapper extends CommandWrapper<CleanupVMComma
3838

3939
@Override
4040
public Answer execute(final CleanupVMCommand command, final CitrixResourceBase citrixResourceBase) {
41-
if (!citrixResourceBase.isDestroyHaltedVms()) {
41+
if (citrixResourceBase.isDestroyHaltedVms()) {
4242
s_logger.debug(String.format("Cleanup VM is not needed for host with version %s",
4343
citrixResourceBase.getHost().getProductVersion()));
4444
return new Answer(command);

0 commit comments

Comments
 (0)