diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-06-24 04:11:55 +0100 |
|---|---|---|
| committer | andy <github@anarkystic.com> | 2010-06-24 04:11:55 +0100 |
| commit | 316435cce05c5506972d70f5894b0ea67880d3b6 (patch) | |
| tree | a8e6d49ca33165726d1f0105de67b559b11b32ba /nova | |
| parent | 4d81110e10e186c3b72a5cc60073a2cba8a98696 (diff) | |
fix objectstore handler typo
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/objectstore/handler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/objectstore/handler.py b/nova/objectstore/handler.py index 3f00bb0c4..199df226a 100644 --- a/nova/objectstore/handler.py +++ b/nova/objectstore/handler.py @@ -294,7 +294,7 @@ class ImageHandler(BaseRequestHandler): image_object = image.Image(image_id) - if not image.is_authorized(self.context): + if not image_object.is_authorized(self.context): raise web.HTTPError(403) image_object.set_public(operation=='add') |
