Github user GabrielBrascher commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1406#discussion_r53150413
  
    --- Diff: 
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeObject.java
 ---
    @@ -92,7 +92,7 @@ public static VolumeObject getVolumeObject(DataStore 
dataStore, VolumeVO volumeV
         public String getAttachedVmName() {
             Long vmId = volumeVO.getInstanceId();
             if (vmId != null) {
    -            VMInstanceVO vm = vmInstanceDao.findById(vmId);
    +            VMInstanceVO vm = vmInstanceDao.findByIdIncludingRemoved(vmId);
    --- End diff --
    
    Sorry @ProjectMoon, my mistake (it is all right, the method is implemented 
on GenericDao).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to