cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjaytripa...@apache.org
Subject git commit: updated refs/heads/master to 92a9ee0
Date Fri, 19 Jun 2015 10:17:29 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master bcfb8240e -> 92a9ee097


AsyncJob reports 'Successful' even if RevertToVMSnapshot operation fails.
This closes #484


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

Branch: refs/heads/master
Commit: 92a9ee097dfd4774bddc799f15ea76f0614d5062
Parents: bcfb824
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Fri Jun 19 15:46:07 2015 +0530
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Fri Jun 19 15:48:21 2015 +0530

----------------------------------------------------------------------
 server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/92a9ee09/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
index b49db9b..2dcd2e2 100644
--- a/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
+++ b/server/src/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java
@@ -709,7 +709,7 @@ public class VMSnapshotManagerImpl extends ManagerBase implements VMSnapshotMana
             return userVm;
         } catch (Exception e) {
             s_logger.debug("Failed to revert vmsnapshot: " + vmSnapshotId, e);
-            return null;
+            throw new CloudRuntimeException(e.getMessage());
         }
     }
 


Mime
View raw message