Merge pull request #1086 from coreos-inc/v1searchnamespace
Add namespace to be returned by docker search
This commit is contained in:
commit
645f572303
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ def conduct_repo_search(username, query, results):
|
||||||
|
|
||||||
for repo in matching_repos:
|
for repo in matching_repos:
|
||||||
results.append({
|
results.append({
|
||||||
'name': repo.name,
|
'name': repo.namespace_user.username + '/' + repo.name,
|
||||||
'description': repo.description,
|
'description': repo.description,
|
||||||
'is_public': repo.is_public,
|
'is_public': repo.is_public,
|
||||||
'href': '/repository/' + repo.namespace_user.username + '/' + repo.name
|
'href': '/repository/' + repo.namespace_user.username + '/' + repo.name
|
||||||
|
|
Reference in a new issue