Skip to content

Commit 0f22e12

Browse files
committed
lint
1 parent 301aada commit 0f22e12

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/testing.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ func ExecBeforeCmdArgs(args []string) BeforeFunc {
678678
func ExecBeforeCmdWithResult(ctx *BeforeFuncCtx, cmd string) any {
679679
args := cmdToArgs(ctx.Meta, cmd)
680680
ctx.Logger.Debugf("ExecBeforeCmd: args=%s\n", args)
681+
681682
return ctx.ExecuteCmd(args)
682683
}
683684

internal/testhelpers/helpers_registry.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ func StoreTagIDInMeta(namespaceMetaKey, dockerImageName, tagMetaKey string) core
7070
dockerImageNameSplit := strings.Split(dockerImageName, ":")
7171
imageName := dockerImageNameSplit[0]
7272
namespaceID := ctx.Meta.Render(fmt.Sprintf("{{ .%s.ID }}", namespaceMetaKey))
73-
imageListResult := core.ExecBeforeCmdWithResult(ctx, fmt.Sprintf("scw registry image list namespace-id=%s name=%s",
74-
namespaceID,
75-
imageName,
76-
),
73+
imageListResult := core.ExecBeforeCmdWithResult(
74+
ctx,
75+
fmt.Sprintf("scw registry image list namespace-id=%s name=%s",
76+
namespaceID,
77+
imageName,
78+
),
7779
)
7880

7981
// Select the image

0 commit comments

Comments
 (0)