lint: address gofumpt issues

Signed-off-by: Dominik Menke <dom@digineo.de>
This commit is contained in:
Dominik Menke 2025-03-13 11:55:22 +01:00 committed by Nicolas De loof
parent 33e863ac6c
commit 6c1e21572a
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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())
})
}