You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2013/11/08 01:56:56 UTC
git commit: updated refs/heads/master to 0997cca
Updated Branches:
refs/heads/master dc3d27927 -> 0997ccac2
fix compile
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0997ccac
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0997ccac
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0997ccac
Branch: refs/heads/master
Commit: 0997ccac22f2edaa456865a977186254b98e56be
Parents: dc3d279
Author: Edison Su <su...@gmail.com>
Authored: Thu Nov 7 16:56:29 2013 -0800
Committer: Edison Su <su...@gmail.com>
Committed: Thu Nov 7 16:56:41 2013 -0800
----------------------------------------------------------------------
.../cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0997ccac/api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java b/api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java
index 64b3772..fc40fb2 100644
--- a/api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/snapshot/CreateSnapshotCmd.java
@@ -178,7 +178,7 @@ public class CreateSnapshotCmd extends BaseAsyncCreateCmd {
CallContext.current().setEventDetails("Volume Id: "+getVolumeId());
Snapshot snapshot;
try {
- snapshot = _volumeService.takeSnapshot(this.getVolumeId(), this.getPolicyId(), this.getEntityId(), _accountService.getAccount(getEntityOwnerId()));
+ snapshot = _volumeService.takeSnapshot(this.getVolumeId(), this.getPolicyId(), this.getEntityId(), _accountService.getAccount(getEntityOwnerId()), getQuiescevm());
if (snapshot != null) {
SnapshotResponse response = _responseGenerator.createSnapshotResponse(snapshot);
response.setResponseName(getCommandName());