cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburw...@apache.org
Subject git commit: updated refs/heads/4.2 to 0a85c1d
Date Thu, 01 Aug 2013 19:42:12 GMT
Updated Branches:
  refs/heads/4.2 84151fddd -> 0a85c1d4a


- CLOUSTACK-3229: Properly converts the Content-Length to string
  representation in s3xen


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

Branch: refs/heads/4.2
Commit: 0a85c1d4a72506959a68a9d2faa12597da06f19a
Parents: 84151fd
Author: John Burwell <jburwell@apache.org>
Authored: Thu Aug 1 15:40:56 2013 -0400
Committer: John Burwell <jburwell@apache.org>
Committed: Thu Aug 1 15:42:02 2013 -0400

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/s3xen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0a85c1d4/scripts/vm/hypervisor/xenserver/s3xen
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/s3xen b/scripts/vm/hypervisor/xenserver/s3xen
index 2798e2b..372a6da 100644
--- a/scripts/vm/hypervisor/xenserver/s3xen
+++ b/scripts/vm/hypervisor/xenserver/s3xen
@@ -270,7 +270,7 @@ class S3Client(object):
         headers = {
             self.HEADER_CONTENT_MD5: compute_md5(src_filename),
             self.HEADER_CONTENT_TYPE: 'application/octet-stream',
-            self.HEADER_CONTENT_LENGTH: os.stat(src_filename).st_size,
+            self.HEADER_CONTENT_LENGTH: str(os.stat(src_filename).st_size),
         }
 
         def send_body(connection):


Mime
View raw message