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) }