Enable golint

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 690ef8af79
Component: cli
This commit is contained in:
Daniel Nephin
2017-05-02 17:57:46 -04:00
parent a91f6c4112
commit 67b6e94f47
10 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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{}