Skip to content

Commit 165054c

Browse files
committed
For single env_file, it's a string...
see #8
1 parent a87391e commit 165054c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compose/parser.go

+2
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ func parseEnvFiles(s *Service) {
204204
for _, v := range v {
205205
envfiles = append(envfiles, v.(string))
206206
}
207+
case string:
208+
envfiles = append(envfiles, v)
207209
default:
208210
log.Printf("%+v %T", s.RawEnvFiles, s.RawEnvFiles)
209211
log.Fatal("EnvFile type not supported")

0 commit comments

Comments
 (0)