Skip to content

Commit 82ecc1a

Browse files
resmoDaanHoogland
authored andcommitted
CLOUDSTACK-8578: fix listVirtualMachines does not return deleted machines when zone is specified
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes apache#510
1 parent 66d51c9 commit 82ecc1a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

server/src/com/cloud/api/query/QueryManagerImpl.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -982,10 +982,6 @@ private Pair<List<UserVmJoinVO>, Integer> searchForUserVMsInternal(ListVMsCmd cm
982982

983983
if (zoneId != null) {
984984
sc.setParameters("dataCenterId", zoneId);
985-
986-
if (state == null) {
987-
sc.setParameters("stateNEQ", "Destroyed");
988-
}
989985
}
990986

991987
if (affinityGroupId != null) {

0 commit comments

Comments
 (0)