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/master to 21f6208
Date Thu, 01 Aug 2013 19:41:32 GMT
Updated Branches:
  refs/heads/master ba01c25b4 -> 21f62087d


- 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/21f62087
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/21f62087
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/21f62087

Branch: refs/heads/master
Commit: 21f62087d38b23353e9df3a60d5750d654440139
Parents: ba01c25
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:41:22 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/21f62087/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