From 55d232043450eae2cdab8cfdf046899868505ba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 3 Apr 2024 09:28:15 +0200 Subject: [PATCH] chore: lint --- modules/compose/compose_api.go | 1 - modules/compose/compose_local.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/compose/compose_api.go b/modules/compose/compose_api.go index ff23ce773b..409875537c 100644 --- a/modules/compose/compose_api.go +++ b/modules/compose/compose_api.go @@ -231,7 +231,6 @@ func (d *dockerCompose) Up(ctx context.Context, opts ...StackUpOption) error { Wait: upOptions.Wait, }, }) - if err != nil { return err } diff --git a/modules/compose/compose_local.go b/modules/compose/compose_local.go index 85643b08f1..2be2daf152 100644 --- a/modules/compose/compose_local.go +++ b/modules/compose/compose_local.go @@ -369,7 +369,7 @@ func executeCompose(dc *LocalDockerCompose, args []string) ExecError { } // initialise the command with the compose subcommand - var cmds = []string{dc.composeSubcommand} + cmds := []string{dc.composeSubcommand} pwd := "." if len(dc.absComposeFilePaths) > 0 { pwd, _ = filepath.Split(dc.absComposeFilePaths[0])