Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Remove redundant env_file section
Browse files Browse the repository at this point in the history
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
  • Loading branch information
ulyssessouza committed Sep 24, 2019
1 parent b0a4597 commit 5bf71d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions e2e/envfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ services:
COMPANY: mycompany
SOME_FILE: /some/file
USER: myuser
env_file:
- myvars.env
image: busybox:1.30.1`})
}
2 changes: 1 addition & 1 deletion render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func render(appPath string, composeContent string, imageMap map[string]bundle.Im
rendered, err := loader.Load(composetypes.ConfigDetails{
WorkingDir: appPath,
ConfigFiles: configFiles,
})
}, loader.WithDiscardEnvFiles)
if err != nil {
return nil, errors.Wrap(err, "failed to load Compose file")
}
Expand Down

0 comments on commit 5bf71d0

Please sign in to comment.