diff options
author | allencloud <allen.sun@daocloud.io> | 2016-03-29 14:36:38 +0800 |
---|---|---|
committer | allencloud <allen.sun@daocloud.io> | 2016-03-31 12:29:15 +0800 |
commit | 28d3c22e55259281c70fd90780a1b0d388450ddf (patch) | |
tree | 025ed8e6bda533bca6c0c6039febfc80b12df296 /registry/service.go | |
parent | f95058aa0fee0b816aa84e51fd886528d2eb0afb (diff) | |
download | docker-28d3c22e55259281c70fd90780a1b0d388450ddf.tar.gz |
1.change validateNoSchema into validateNoScheme
2.change schema into scheme in docs and some annotations.
Signed-off-by: allencloud <allen.sun@daocloud.io>
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 acafc34b60..c27f9b1c93 100644 --- a/registry/service.go +++ b/registry/service.go @@ -91,7 +91,7 @@ func splitReposSearchTerm(reposName string) (string, string) { // Search queries the public registry for images matching the specified // search terms, and returns the results. func (s *Service) Search(term string, authConfig *types.AuthConfig, userAgent string, headers map[string][]string) (*registrytypes.SearchResults, error) { - if err := validateNoSchema(term); err != nil { + if err := validateNoScheme(term); err != nil { return nil, err } |