Github user mike-tutkowski commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1735#discussion_r94660627
  
    --- Diff: server/src/com/cloud/api/ApiResponseHelper.java ---
    @@ -493,7 +494,9 @@ public SnapshotResponse createSnapshotResponse(Snapshot 
snapshot) {
                 snapshotInfo = (SnapshotInfo)snapshot;
             } else {
                 DataStoreRole dataStoreRole = getDataStoreRole(snapshot, 
_snapshotStoreDao, _dataStoreMgr);
    -
    --- End diff --
    
    I would say the default should be DataStoreRole.Image for getDataStoreRole 
and so getDataStoreRole should probably never return null.


---
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