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
|
return topCmd
|
||||||
}
|
}
|
||||||
|
|
||||||
type topHeader map[string]int // maps a proc title to its output index
|
type (
|
||||||
type topEntries map[string]string
|
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 {
|
func runTop(ctx context.Context, dockerCli command.Cli, backend api.Service, opts topOptions, services []string) error {
|
||||||
projectName, err := opts.toProjectName(ctx, dockerCli)
|
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 1 1 0 12:00 ? 00:00:04 - /entrypoint
|
||||||
multiple 1 root 123 1 0 12:00 ? 00:00:42 - sleep infinity
|
multiple 1 root 123 1 0 12:00 ? 00:00:42 - sleep infinity
|
||||||
`), buf.String())
|
`), buf.String())
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user