Merge pull request #1086 from coreos-inc/v1searchnamespace

Add namespace to be returned by docker search
This commit is contained in:
josephschorr 2015-12-22 15:49:42 -05:00
commit 645f572303

View file

@ -307,7 +307,7 @@ def conduct_repo_search(username, query, results):
for repo in matching_repos:
results.append({
'name': repo.name,
'name': repo.namespace_user.username + '/' + repo.name,
'description': repo.description,
'is_public': repo.is_public,
'href': '/repository/' + repo.namespace_user.username + '/' + repo.name