Merge pull request #2697 from coreos-inc/appr_blob_pull
Appr: fix pull blob (missing param)
This commit is contained in:
commit
817d75d6dc
1 changed files with 2 additions and 1 deletions
|
@ -158,7 +158,8 @@ def pull(namespace, package_name, release, media_type):
|
|||
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})
|
||||
return _pull(data)
|
||||
json_format = request.args.get('format', None) == 'json'
|
||||
return _pull(data, json_format)
|
||||
|
||||
|
||||
@appr_bp.route("/api/v1/packages/<string:namespace>/<string:package_name>", methods=['POST'],
|
||||
|
|
Reference in a new issue