mirror of
https://github.com/docker/compose.git
synced 2026-10-21 03:12:52 +00:00
lint: address gofumpt issues
Signed-off-by: Dominik Menke <dom@digineo.de>
This commit is contained in:
parent
33e863ac6c
commit
6c1e21572a
2 changed files with 4 additions and 3 deletions
|
|
@ -49,8 +49,10 @@ func topCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service) *
|
|||
return topCmd
|
||||
}
|
||||
|
||||
type topHeader map[string]int // maps a proc title to its output index
|
||||
type topEntries map[string]string
|
||||
type (
|
||||
topHeader map[string]int // maps a proc title to its output index
|
||||
topEntries map[string]string
|
||||
)
|
||||
|
||||
func runTop(ctx context.Context, dockerCli command.Cli, backend api.Service, opts topOptions, services []string) error {
|
||||
projectName, err := opts.toProjectName(ctx, dockerCli)
|
||||
|
|
|
|||
|
|
@ -316,7 +316,6 @@ func TestRunTopCore(t *testing.T) {
|
|||
multiple 1 root 1 1 0 12:00 ? 00:00:04 - /entrypoint
|
||||
multiple 1 root 123 1 0 12:00 ? 00:00:42 - sleep infinity
|
||||
`), buf.String())
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue