mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7887: change int to str into swiftxen
This commit is contained in:
parent
a4b92e908a
commit
6c955a3a47
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user