Fix some typos

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
Upstream-commit: 5e2a13b971
Component: cli
This commit is contained in:
yuexiao-wang
2016-11-30 03:01:32 +08:00
parent 7cd5e53254
commit b3d1ee086f
+1 -1
View File
@@ -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) }