From 5e2a13b97193bb1bd13c11cf8c118dde476c3814 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Tue, 29 Nov 2016 01:21:47 +0800 Subject: [PATCH] Fix some typos Signed-off-by: yuexiao-wang --- command/registry/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/registry/search.go b/command/registry/search.go index 124b4ae6cc..bbcedbdd99 100644 --- a/command/registry/search.go +++ b/command/registry/search.go @@ -118,7 +118,7 @@ func runSearch(dockerCli *command.DockerCli, opts searchOptions) error { return nil } -// SearchResultsByStars sorts search results in descending order by number of stars. +// searchResultsByStars sorts search results in descending order by number of stars. type searchResultsByStars []registrytypes.SearchResult func (r searchResultsByStars) Len() int { return len(r) }