Fix app registry logging

This commit is contained in:
Joseph Schorr 2018-01-04 13:05:50 -05:00
parent a1a6df7914
commit f05982dc7c

View file

@ -154,8 +154,8 @@ def show_package_release_manifests(namespace, package_name, release):
@require_app_repo_read
@anon_protect
def pull(namespace, package_name, release, media_type):
logger.debug('Pull of release %s of app repository %s/%s', release, namespace, package_name)
reponame = repo_name(namespace, package_name)
logger.info("pull %s", reponame)
data = cnr_registry.pull(reponame, release, media_type, Package, blob_class=Blob)
model.log_action('pull_repo', namespace, repo_name=package_name,
metadata={'release': release, 'mediatype': media_type})