cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [42/50] git commit: updated refs/heads/master to 0b83559
Date Wed, 29 Apr 2015 05:44:26 GMT
volume upload: added state transition for a failed volume delete


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

Branch: refs/heads/master
Commit: d5bb2f16fc59876f1a2aa99bc049d322ee794ea8
Parents: 4338bea
Author: Rajani Karuturi <rajanikaruturi@gmail.com>
Authored: Thu Apr 16 17:32:33 2015 +0530
Committer: Rajani Karuturi <rajanikaruturi@gmail.com>
Committed: Thu Apr 16 17:42:18 2015 +0530

----------------------------------------------------------------------
 api/src/com/cloud/storage/Volume.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d5bb2f16/api/src/com/cloud/storage/Volume.java
----------------------------------------------------------------------
diff --git a/api/src/com/cloud/storage/Volume.java b/api/src/com/cloud/storage/Volume.java
index 106e4c2..b7a5eeb 100755
--- a/api/src/com/cloud/storage/Volume.java
+++ b/api/src/com/cloud/storage/Volume.java
@@ -98,6 +98,7 @@ public interface Volume extends ControlledEntity, Identity, InternalIdentity,
Ba
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(Migrating,
Event.OperationSucceeded, Ready, null));
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(Migrating,
Event.OperationFailed, Ready, null));
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(Destroy,
Event.OperationSucceeded, Destroy, Arrays.asList(new StateMachine2.Transition.Impact[]{StateMachine2.Transition.Impact.USAGE})));
+            s_fsm.addTransition(new StateMachine2.Transition<State, Event>(Destroy,
Event.OperationFailed, Destroy, Arrays.asList(StateMachine2.Transition.Impact.USAGE)));
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(UploadOp,
Event.OperationSucceeded, Uploaded, null));
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(UploadOp,
Event.OperationFailed, Allocated, null));
             s_fsm.addTransition(new StateMachine2.Transition<State, Event>(Uploaded,
Event.DestroyRequested, Destroy, null));


Mime
View raw message