diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2022-02-26 01:05:27 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-03-17 17:09:09 +0100 |
commit | 4ebb18479d4b560950597ad94800a1aa4c22e572 (patch) | |
tree | 58d3939273e8aa4dd4a6447a70280a013dd0a9d8 /registry/service.go | |
parent | 286992ef535fb18bb61bfb7aa67d45d8ca932e8c (diff) | |
download | docker-4ebb18479d4b560950597ad94800a1aa4c22e572.tar.gz |
registry: un-export Session, remove NewSession()
It's only used internally for search.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'registry/service.go')
-rw-r--r-- | registry/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/service.go b/registry/service.go index 8d85c8a2dc..7903918064 100644 --- a/registry/service.go +++ b/registry/service.go @@ -224,7 +224,7 @@ func (s *defaultService) Search(ctx context.Context, term string, limit int, aut // If pull "library/foo", it's stored locally under "foo" remoteName = strings.TrimPrefix(remoteName, "library/") } - return r.SearchRepositories(remoteName, limit) + return r.searchRepositories(remoteName, limit) } // ResolveRepository splits a repository name into its components |