Add test fix and make sure Quay ups the connection count in its container
This commit is contained in:
parent
ee3ad9e7c3
commit
09a1c4d2b5
4 changed files with 12 additions and 2 deletions
|
@ -428,7 +428,11 @@ def get_search():
|
|||
if user is not None:
|
||||
username = user.username
|
||||
|
||||
matching = model.get_matching_repositories(query, username)
|
||||
if query:
|
||||
matching = model.get_matching_repositories(query, username)
|
||||
else:
|
||||
matching = []
|
||||
|
||||
results = [result_view(repo) for repo in matching
|
||||
if (repo.visibility.name == 'public' or
|
||||
ReadRepositoryPermission(repo.namespace, repo.name).can())]
|
||||
|
|
Reference in a new issue