cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [11/23] git commit: updated refs/heads/hotfix/CLOUDSTACK-7776 to 9e89a28
Date Thu, 23 Oct 2014 20:11:55 GMT
Pass on new command


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

Branch: refs/heads/hotfix/CLOUDSTACK-7776
Commit: 15c8d8caf69111905b36f099ba1cbc9a7767466c
Parents: 8766c8a
Author: Mike Tutkowski <mike.tutkowski@solidfire.com>
Authored: Mon Oct 20 16:04:06 2014 -0600
Committer: Mike Tutkowski <mike.tutkowski@solidfire.com>
Committed: Tue Oct 21 16:01:15 2014 -0600

----------------------------------------------------------------------
 .../storage/resource/StorageSubsystemCommandHandlerBase.java     | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/15c8d8ca/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java
----------------------------------------------------------------------
diff --git a/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java b/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java
index 16fb153..fc771e0 100644
--- a/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java
+++ b/core/src/com/cloud/storage/resource/StorageSubsystemCommandHandlerBase.java
@@ -28,6 +28,7 @@ import org.apache.cloudstack.storage.command.CreateObjectCommand;
 import org.apache.cloudstack.storage.command.DeleteCommand;
 import org.apache.cloudstack.storage.command.DettachCommand;
 import org.apache.cloudstack.storage.command.IntroduceObjectCmd;
+import org.apache.cloudstack.storage.command.SnapshotAndCopyCommand;
 import org.apache.cloudstack.storage.command.StorageSubSystemCommand;
 
 import com.cloud.agent.api.Answer;
@@ -61,7 +62,10 @@ public class StorageSubsystemCommandHandlerBase implements StorageSubsystemComma
             return execute((DettachCommand)command);
         } else if (command instanceof IntroduceObjectCmd) {
             return processor.introduceObject((IntroduceObjectCmd)command);
+        } else if (command instanceof SnapshotAndCopyCommand) {
+            return processor.snapshotAndCopy((SnapshotAndCopyCommand)command);
         }
+
         return new Answer((Command)command, false, "not implemented yet");
     }
 


Mime
View raw message