summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-03-10 01:34:52 +0000
committerGerrit Code Review <review@openstack.org>2021-03-10 01:34:52 +0000
commit32ce011bac00aacee5ff27bb07bf3c456e037317 (patch)
tree33c24f0c7dcac21ba13aec5bdb0fdbaec9699505
parent9afbf466ab322d6b85cfa2d3b06f3b9945edd040 (diff)
parent4063d215a163795cbb65f773bfd66a0d51977470 (diff)
downloadglance-32ce011bac00aacee5ff27bb07bf3c456e037317.tar.gz
Merge "trivial: Fix minor grammatical issues in cache middleware"
-rw-r--r--glance/api/middleware/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/glance/api/middleware/cache.py b/glance/api/middleware/cache.py
index a71e46922..28315ea3a 100644
--- a/glance/api/middleware/cache.py
+++ b/glance/api/middleware/cache.py
@@ -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: