From c341c2c571c6550eb3c7983ea07d29424444652e Mon Sep 17 00:00:00 2001 From: Samuel Merritt Date: Tue, 29 May 2018 10:46:56 -0700 Subject: [PATCH] fix typos in comment Change-Id: I3d598ad6d7791df2bc66cbaed67cd72084e0f7b3 --- swift/common/middleware/symlink.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swift/common/middleware/symlink.py b/swift/common/middleware/symlink.py index 8be2f24479..66c3320e79 100644 --- a/swift/common/middleware/symlink.py +++ b/swift/common/middleware/symlink.py @@ -434,12 +434,12 @@ class SymlinkObjectContext(WSGIContext): # We have a design decision to use etag space to store symlink info for # object listing because it's immutable unless the object is # overwritten. This may impact the downgrade scenario that the symlink - # info can be appreared as the suffix in the hash value of object + # info can appear as the suffix in the hash value of object # listing result for clients. - # To create override etag easily, we have a contraint that the symlink + # To create override etag easily, we have a constraint that the symlink # must be 0 byte so we can add etag of the empty string + symlink info # here, simply. Note that this override etag may be encrypted in the - # container db by encrypion middleware. + # container db by encryption middleware. etag_override = [ MD5_OF_EMPTY_STRING, 'symlink_target=%s' % req.headers[TGT_OBJ_SYSMETA_SYMLINK_HDR]