summaryrefslogtreecommitdiff
path: root/registry/service.go
diff options
context:
space:
mode:
authorallencloud <allen.sun@daocloud.io>2016-03-29 14:36:38 +0800
committerallencloud <allen.sun@daocloud.io>2016-03-31 12:29:15 +0800
commit28d3c22e55259281c70fd90780a1b0d388450ddf (patch)
tree025ed8e6bda533bca6c0c6039febfc80b12df296 /registry/service.go
parentf95058aa0fee0b816aa84e51fd886528d2eb0afb (diff)
downloaddocker-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.go2
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
}