Fix manifest upload with ceph backend
Change-Id: I937af1d3e30c0034680bfdc52cf2842824f88ac5
This commit is contained in:
parent
f320b35137
commit
7498a69821
|
@ -112,7 +112,8 @@ class SwiftStorage(physical.PhysicalStorage):
|
|||
LOG.info('[*] Uploading Swift Manifest: {0}'.format(backup))
|
||||
split = backup.data_path.rsplit('/', 1)
|
||||
self.swift().put_object(container=split[0], obj=split[1],
|
||||
contents=u'', headers=headers)
|
||||
contents=u'', headers=headers,
|
||||
content_length=len(u''))
|
||||
LOG.info('Manifest successfully uploaded!')
|
||||
|
||||
def prepare(self):
|
||||
|
|
Loading…
Reference in New Issue