def search_image(self, context, repo, tag, exact_match): # TODO(mkrai): glance driver does not handle tags # once metadata is stored in db then handle tags LOG.debug('Searching image in glance %s', repo) try: # TODO(hongbin): find image by both repo and tag return utils.find_images(context, repo, exact_match) except Exception as e: raise exception.ZunException(six.text_type(e))
def search_image(self, context, repo, tag, exact_match): LOG.debug('Searching image in glance %s', repo) try: return utils.find_images(context, repo, tag, exact_match) except Exception as e: raise exception.ZunException(six.text_type(e))