We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4b92e9 commit 6c955a3Copy full SHA for 6c955a3
1 file changed
scripts/vm/hypervisor/xenserver/swiftxen
@@ -69,7 +69,7 @@ def upload(args):
69
if size > MAX_SEG_SIZE :
70
segment = 1
71
if segment :
72
- 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]
73
else :
74
cmd = [SWIFT, "-A", url ,"-U", account + ":" + username, "-K", key, "upload", container, lfilename]
75
util.pread2(cmd)
0 commit comments