Fix incorrect setting of symlink_target_account
The value of the symlink_target_account in etag override. It was previously being set to the object value, rather than the account value. Change-Id: I51889d7b19370ceaa66168103cb31d27a8ee3a4a Closes-Bug: #1829085
This commit is contained in:
parent
1adde2fba5
commit
e28bc3c292
|
@ -450,7 +450,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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue