diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2022-02-26 00:02:37 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2022-03-17 17:09:00 +0100 |
commit | 6a01a3cfa4e0c4519fe855dbf59c13964f8aa4cf (patch) | |
tree | 072ec20dae357870c239e0e6feeca1172fddb925 /registry/service.go | |
parent | 8b8bbbd44551b66641502e899f4401e6795afb82 (diff) | |
download | docker-6a01a3cfa4e0c4519fe855dbf59c13964f8aa4cf.tar.gz |
registry: un-export V1Endpoint and NewV1Endpoint()
They're deprecated, and only used internally for the v1 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 8b5bb9e7b6..8d85c8a2dc 100644 --- a/registry/service.go +++ b/registry/service.go @@ -177,7 +177,7 @@ func (s *defaultService) Search(ctx context.Context, term string, limit int, aut } // *TODO: Search multiple indexes. - endpoint, err := NewV1Endpoint(index, userAgent, headers) + endpoint, err := newV1Endpoint(index, userAgent, headers) if err != nil { return nil, err } |