You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by am...@apache.org on 2014/07/15 02:42:18 UTC

git commit: updated refs/heads/master to 33d6bc2

Repository: cloudstack
Updated Branches:
  refs/heads/master 3d8dd1c92 -> 33d6bc278


Adding missing modified file


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

Branch: refs/heads/master
Commit: 33d6bc278f9645e7ab9942f508971669414538f0
Parents: 3d8dd1c
Author: amoghvk <am...@citrix.com>
Authored: Mon Jul 14 17:42:27 2014 -0700
Committer: amoghvk <am...@citrix.com>
Committed: Mon Jul 14 17:42:27 2014 -0700

----------------------------------------------------------------------
 .../cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33d6bc27/engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
----------------------------------------------------------------------
diff --git a/engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java b/engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
index c5c54df..17a9f79 100644
--- a/engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
+++ b/engine/storage/snapshot/src/org/apache/cloudstack/storage/vmsnapshot/DefaultVMSnapshotStrategy.java
@@ -353,7 +353,6 @@ public class DefaultVMSnapshotStrategy extends ManagerBase implements VMSnapshot
             RevertToVMSnapshotCommand revertToSnapshotCommand = new RevertToVMSnapshotCommand(vmInstanceName, vmSnapshotTO, volumeTOs, guestOS.getDisplayName());
             HostVO host = hostDao.findById(hostId);
             GuestOSHypervisorVO guestOsMapping = guestOsHypervisorDao.findByOsIdAndHypervisor(guestOS.getId(), host.getHypervisorType().toString(), host.getHypervisorVersion());
-            RevertToVMSnapshotCommand revertToSnapshotCommand = new RevertToVMSnapshotCommand(vmInstanceName, vmSnapshotTO, volumeTOs, guestOS.getDisplayName());
             if (guestOsMapping == null) {
                 revertToSnapshotCommand.setPlatformEmulator(null);
             } else {