Repository: cloudstack
Updated Branches:
  refs/heads/bugfix/CID-1116850 [created] d9560c520


CID-1116850: Remove dead local store.


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

Branch: refs/heads/bugfix/CID-1116850
Commit: d9560c52087889602b926ba6e9dbfeb284d42d59
Parents: 38f8ca7
Author: imduffy15 <[email protected]>
Authored: Tue Sep 16 14:58:51 2014 +0100
Committer: imduffy15 <[email protected]>
Committed: Tue Sep 16 14:58:51 2014 +0100

----------------------------------------------------------------------
 .../cloudstack/storage/motion/AncientDataMotionStrategy.java     | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d9560c52/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
----------------------------------------------------------------------
diff --git 
a/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
 
b/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
index 5b01f95..32b70f3 100644
--- 
a/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
+++ 
b/engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
@@ -111,10 +111,6 @@ public class AncientDataMotionStrategy implements 
DataMotionStrategy {
             return false;
         }
 
-        if (srcData.getType() == DataObjectType.TEMPLATE) {
-            TemplateInfo template = (TemplateInfo)srcData;
-        }
-
         if (s_logger.isDebugEnabled()) {
             s_logger.debug("needCacheStorage true, dest at " + 
destTO.getPath() + " dest role " + destStoreTO.getRole().toString() + 
srcTO.getPath() + " src role " +
                 srcStoreTO.getRole().toString());

Reply via email to