Repository: cloudstack Updated Branches: refs/heads/master 81e03c4c3 -> 5306e43d5
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/5306e43d Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5306e43d Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5306e43d Branch: refs/heads/master Commit: 5306e43d562ba4a4590ce24215fe45e2248d5bfc Parents: 81e03c4 Author: Pierre-Luc Dion <[email protected]> Authored: Wed Nov 12 19:18:37 2014 -0500 Committer: Pierre-Luc Dion <[email protected]> Committed: Wed Nov 12 19:21:37 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/5306e43d/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)
