Repository: cloudstack
Updated Branches:
  refs/heads/4.8 90ae04b79 -> 445d36c12


CLOUDSTACK-9561 Unable to delete domain/Account


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c443cd1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2c443cd1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2c443cd1

Branch: refs/heads/4.8
Commit: 2c443cd189664ec35aaeedd7bd447d4fcfce0387
Parents: 5a2a2f4
Author: Sudharma Jain <[email protected]>
Authored: Thu Oct 27 10:58:37 2016 +0530
Committer: Sudharma Jain <[email protected]>
Committed: Thu Oct 27 10:58:37 2016 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2c443cd1/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java 
b/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
index c7dc33b..6ed556e 100644
--- a/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
+++ b/engine/schema/src/com/cloud/storage/dao/VolumeDaoImpl.java
@@ -96,7 +96,6 @@ public class VolumeDaoImpl extends GenericDaoBase<VolumeVO, 
Long> implements Vol
     public List<VolumeVO> findByAccount(long accountId) {
         SearchCriteria<VolumeVO> sc = AllFieldsSearch.create();
         sc.setParameters("accountId", accountId);
-        sc.setParameters("state", Volume.State.Ready);
         return listBy(sc);
     }
 

Reply via email to