From b3d1ee086f78b3540bff820c7cc8e2f0cef53c70 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 Upstream-commit: 5e2a13b97193bb1bd13c11cf8c118dde476c3814 Component: cli --- components/cli/command/registry/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/command/registry/search.go b/components/cli/command/registry/search.go index 124b4ae6cc..bbcedbdd99 100644 --- a/components/cli/command/registry/search.go +++ b/components/cli/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) }