Enable golint
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 690ef8af79
Component: cli
This commit is contained in:
@@ -35,7 +35,7 @@ func (t tasksBySlot) Less(i, j int) bool {
|
||||
// Print task information in a format.
|
||||
// Besides this, command `docker node ps <node>`
|
||||
// and `docker stack ps` will call this, too.
|
||||
func Print(dockerCli command.Cli, ctx context.Context, tasks []swarm.Task, resolver *idresolver.IDResolver, trunc, quiet bool, format string) error {
|
||||
func Print(ctx context.Context, dockerCli command.Cli, tasks []swarm.Task, resolver *idresolver.IDResolver, trunc, quiet bool, format string) error {
|
||||
sort.Stable(tasksBySlot(tasks))
|
||||
|
||||
names := map[string]string{}
|
||||
|
||||
Reference in New Issue
Block a user