Merge "Fix incorrect setting of symlink_target_account" into stable/rocky

This commit is contained in:
Zuul 2019-10-25 13:01:39 +00:00 committed by Gerrit Code Review
commit a39c5a6978
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ class SymlinkObjectContext(WSGIContext):
if TGT_ACCT_SYSMETA_SYMLINK_HDR in req.headers:
etag_override.append(
'symlink_target_account=%s' %
req.headers[TGT_OBJ_SYSMETA_SYMLINK_HDR])
req.headers[TGT_ACCT_SYSMETA_SYMLINK_HDR])
req.headers['X-Object-Sysmeta-Container-Update-Override-Etag'] = \
'; '.join(etag_override)