Merge "Fix manifest upload with ceph backend"

This commit is contained in:
Jenkins 2016-11-18 11:18:15 +00:00 committed by Gerrit Code Review
commit b80749a684
1 changed files with 2 additions and 1 deletions

View File

@ -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):