mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-8578: fix listVirtualMachines does not return deleted machines when zone is specified
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #510
This commit is contained in:
parent
66d51c91ea
commit
82ecc1aa06
|
|
@ -982,10 +982,6 @@ public class QueryManagerImpl extends ManagerBase implements QueryService {
|
|||
|
||||
if (zoneId != null) {
|
||||
sc.setParameters("dataCenterId", zoneId);
|
||||
|
||||
if (state == null) {
|
||||
sc.setParameters("stateNEQ", "Destroyed");
|
||||
}
|
||||
}
|
||||
|
||||
if (affinityGroupId != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue