mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
lint: address gofumpt issues
Signed-off-by: Dominik Menke <dom@digineo.de>
This commit is contained in:
parent
33e863ac6c
commit
6c1e21572a
@ -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…
x
Reference in New Issue
Block a user