glance.api.v1.controller module¶
-
class
glance.api.v1.controller.
BaseController
[source]¶ Bases:
object
-
get_active_image_meta_or_error
(request, image_id)[source]¶ Same as get_image_meta_or_404 except that it will raise a 403 if the image is deactivated or 404 if the image is otherwise not ‘active’.
-