Skip to content

Commit 68dde8d

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "fix bug with replace old *LOs"
2 parents 66e8c5a + 266217e commit 68dde8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎bin/swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ def st_upload(parser, args, thread_manager):
10111011
container, obj,
10121012
query_string='multipart-manifest=get')
10131013
for old_seg in json.loads(manifest_data):
1014-
seg_path = old_seg['path'].lstrip('/')
1014+
seg_path = old_seg['name'].lstrip('/')
10151015
if isinstance(seg_path, unicode):
10161016
seg_path = seg_path.encode('utf-8')
10171017
old_slo_manifest_paths.append(seg_path)

0 commit comments

Comments
 (0)