cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [25/28] git commit: updated refs/heads/master to 8c9093b
Date Thu, 13 Nov 2014 09:43:10 GMT
CLOUDSTACK-7887: change int to str into swiftxen


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

Branch: refs/heads/master
Commit: 6c955a3a472da1308a5336a48b29514b78c543e4
Parents: a4b92e9
Author: Pierre-Luc Dion <pdion891@apache.org>
Authored: Wed Nov 12 19:18:37 2014 -0500
Committer: Pierre-Luc Dion <pdion891@apache.org>
Committed: Wed Nov 12 19:22:13 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6c955a3a/scripts/vm/hypervisor/xenserver/swiftxen
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/swiftxen b/scripts/vm/hypervisor/xenserver/swiftxen
index 8342238..f56d5ad 100644
--- a/scripts/vm/hypervisor/xenserver/swiftxen
+++ b/scripts/vm/hypervisor/xenserver/swiftxen
@@ -69,7 +69,7 @@ def upload(args):
             if size > MAX_SEG_SIZE :        
                 segment = 1
         if segment :             
-            cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload",
"-S", MAX_SEG_SIZE, container, lfilename]
+            cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload",
"-S", str(MAX_SEG_SIZE), container, lfilename]
         else :
             cmd = [SWIFT, "-A", url ,"-U", account + ":" + username, "-K", key, "upload",
container, lfilename]
         util.pread2(cmd)


Mime
View raw message