data.interfaces.v1: explicitly use kwargs
This fixes the function from accidentally using the wrong arguments positionally for the new `repo_kind` kwarg.
This commit is contained in:
parent
dae2cc8c3a
commit
f086eea754
1 changed files with 3 additions and 2 deletions
|
@ -383,8 +383,9 @@ class PreOCIModel(DockerRegistryV1DataInterface):
|
|||
return bool(model.oauth.validate_access_token(token))
|
||||
|
||||
def get_sorted_matching_repositories(self, search_term, filter_username=None, offset=0, limit=25):
|
||||
repos = model.repository.get_filtered_matching_repositories(search_term, filter_username,
|
||||
offset, limit)
|
||||
repos = model.repository.get_filtered_matching_repositories(search_term,
|
||||
filter_username=filter_username,
|
||||
offset=offset, limit=limit)
|
||||
return [_repository_for_repo(repo) for repo in repos]
|
||||
|
||||
|
||||
|
|
Reference in a new issue