You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/06/05 07:10:00 UTC

[GitHub] koushik-das commented on a change in pull request #2081: WIP: CLOUDSTACK-9894 Separate creation and backup operations for a volume snapshot

koushik-das commented on a change in pull request #2081: WIP: CLOUDSTACK-9894 Separate creation and backup operations for a volume snapshot
URL: https://github.com/apache/cloudstack/pull/2081#discussion_r120047721
 
 

 ##########
 File path: engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotServiceImpl.java
 ##########
 @@ -226,7 +226,7 @@ public SnapshotResult takeSnapshot(SnapshotInfo snap) {
     // we are taking delta snapshot
     private DataStore findSnapshotImageStore(SnapshotInfo snapshot) {
         Boolean fullSnapshot = true;
-        Object payload = snapshot.getPayload();
+        Object payload = snapshot.getFullBackup();
 
 Review comment:
   Use proper variable type and name and remove typecast below 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services