Skip to content

Commit

Permalink
For single env_file, it's a string...
Browse files Browse the repository at this point in the history
see #8
  • Loading branch information
metal3d committed Apr 1, 2022
1 parent a87391e commit 165054c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compose/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ func parseEnvFiles(s *Service) {
for _, v := range v {
envfiles = append(envfiles, v.(string))
}
case string:
envfiles = append(envfiles, v)
default:
log.Printf("%+v %T", s.RawEnvFiles, s.RawEnvFiles)
log.Fatal("EnvFile type not supported")
Expand Down

0 comments on commit 165054c

Please sign in to comment.