From 266217e32c7119dce3d21014e3bf0e7ff354c79d Mon Sep 17 00:00:00 2001 From: David Goetz Date: Tue, 10 Sep 2013 13:12:29 -0700 Subject: fix bug with replace old *LOs Change-Id: I9e6278b62608cf36fa7e5e228f234cc8199c17fc --- bin/swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/swift b/bin/swift index 6cfd9ea..4d11bae 100755 --- a/bin/swift +++ b/bin/swift @@ -1011,7 +1011,7 @@ def st_upload(parser, args, thread_manager): container, obj, query_string='multipart-manifest=get') for old_seg in json.loads(manifest_data): - seg_path = old_seg['path'].lstrip('/') + seg_path = old_seg['name'].lstrip('/') if isinstance(seg_path, unicode): seg_path = seg_path.encode('utf-8') old_slo_manifest_paths.append(seg_path) -- cgit v1.2.1