trivial: Fix minor grammatical issues in cache middleware
Change-Id: Id3a08decd65b1222c0e9d7908ecd07587d2455c9
This commit is contained in:
parent
31414b9f61
commit
4063d215a1
|
@ -105,8 +105,8 @@ class CacheFilter(wsgi.Middleware):
|
|||
# update the project_id attribute of the target to match the owner.
|
||||
# If the target isn't of dict() type already, we should explicitly
|
||||
# handle that here. We take a similar approach in the policy layer
|
||||
# (glance.api.policy) to make sure we're build accurate image
|
||||
# targets.
|
||||
# (glance.api.policy) to make sure we build an accurate image
|
||||
# target.
|
||||
target = dict(target)
|
||||
target['project_id'] = target.get('owner', None)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue