We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55cb22d + 831704e commit d977030Copy full SHA for d977030
cli/command/registry/search.go
@@ -2,7 +2,6 @@ package registry
2
3
import (
4
"context"
5
- "sort"
6
7
"github.com/docker/cli/cli"
8
"github.com/docker/cli/cli/command"
@@ -75,9 +74,6 @@ func runSearch(dockerCli command.Cli, options searchOptions) error {
75
74
return err
76
}
77
78
- sort.Slice(results, func(i, j int) bool {
79
- return results[j].StarCount < results[i].StarCount
80
- })
81
searchCtx := formatter.Context{
82
Output: dockerCli.Out(),
83
Format: NewSearchFormat(options.format),
0 commit comments