1 class BaseController(object):
3 def get_cluster_meta_or_404(self, request, cluster_id):
5 Grabs the cluster metadata for an cluster with a supplied
6 identifier or raises an HTTPNotFound (404) response
8 :param request: The WSGI/Webob Request object
9 :param cluster_id: The opaque cluster identifier
11 :raises HTTPNotFound if cluster does not exist