Skip to content

Commit 5306e43

Browse files
committed
CLOUDSTACK-7887: change int to str into swiftxen
1 parent 81e03c4 commit 5306e43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/vm/hypervisor/xenserver/swiftxen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def upload(args):
6969
if size > MAX_SEG_SIZE :
7070
segment = 1
7171
if segment :
72-
cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload", "-S", MAX_SEG_SIZE, container, lfilename]
72+
cmd = [SWIFT, "-A", url, "-U", account + ":" + username, "-K", key, "upload", "-S", str(MAX_SEG_SIZE), container, lfilename]
7373
else :
7474
cmd = [SWIFT, "-A", url ,"-U", account + ":" + username, "-K", key, "upload", container, lfilename]
7575
util.pread2(cmd)

0 commit comments

Comments
 (0)