Skip to content

Commit 794f87c

Browse files
gloursndeloof
authored andcommitted
add AlwaysOkPrompt to replace 'AlwaysYes' current implementation'
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 198b357 commit 794f87c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/compose/publish.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func runPublish(ctx context.Context, dockerCli command.Cli, backendOptions *Back
7272
if opts.assumeYes {
7373
backendOptions.Options = append(backendOptions.Options, compose.WithPrompt(compose.AlwaysOkPrompt()))
7474
}
75-
7675
backend, err := compose.NewComposeService(dockerCli, backendOptions.Options...)
7776
if err != nil {
7877
return err

0 commit comments

Comments
 (0)