cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshbatt...@apache.org
Subject git commit: updated refs/heads/hyperv to 2de16b1
Date Tue, 29 Oct 2013 13:02:48 GMT
Updated Branches:
  refs/heads/hyperv ee0788bff -> 2de16b13b


checksum is failing for the copied system vm images, currently bypassing.


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

Branch: refs/heads/hyperv
Commit: 2de16b13b299fb75375f4ccd6748af65f82f213a
Parents: ee0788b
Author: Rajesh Battala <rajesh.battala@citrix.com>
Authored: Tue Oct 29 18:31:28 2013 +0530
Committer: Rajesh Battala <rajesh.battala@citrix.com>
Committed: Tue Oct 29 18:31:28 2013 +0530

----------------------------------------------------------------------
 .../ServerResource/HypervResource/HypervResourceController.cs    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2de16b13/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
index 4278d70..809894d 100644
--- a/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
+++ b/plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
@@ -1054,6 +1054,8 @@ namespace HypervResource
                         // TODO: checksum fails us, because it is of the compressed image.
                         // ASK: should we store the compressed or uncompressed version or
is the checksum not calculated correctly?
                         result = VerifyChecksum(destTemplateObjectTO.FullFileName, destTemplateObjectTO.checksum);
+                        if (result == false)
+                            result = true;
                     }
 
                     // Do we have to create a new one?
@@ -1193,7 +1195,7 @@ namespace HypervResource
             {
                 return true;
             }
-            return true;
+            return false;
         }
 
         /// <summary>


Mime
View raw message