Skip to content

Commit a279c3a

Browse files
ulyssessouzandeloof
authored andcommitted
Discard env_file section on convert/config
Signed-off-by: Ulysses Souza <[email protected]>
1 parent ee586e7 commit a279c3a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/compose/convert.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ func runConvert(ctx context.Context, backend api.Service, opts convertOptions, s
116116
project, err := opts.toProject(services,
117117
cli.WithInterpolation(!opts.noInterpolate),
118118
cli.WithResolvedPaths(true),
119-
cli.WithNormalization(!opts.noNormalize))
119+
cli.WithNormalization(!opts.noNormalize),
120+
cli.WithDiscardEnvFile)
121+
120122
if err != nil {
121123
return err
122124
}

0 commit comments

Comments
 (0)