You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by du...@apache.org on 2014/09/16 15:59:38 UTC

git commit: updated refs/heads/bugfix/CID-1116850 to d9560c5

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 <ia...@ianduffy.ie>
Authored: Tue Sep 16 14:58:51 2014 +0100
Committer: imduffy15 <ia...@ianduffy.ie>
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());