For single env_file, it's a string...

see #8
This commit is contained in:
2022-04-01 17:49:10 +02:00
parent a87391e726
commit 165054ca53

View File

@@ -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")