1 Commits

Author SHA1 Message Date
165054ca53 For single env_file, it's a string...
see #8
2022-04-01 17:49:10 +02:00

View File

@@ -204,6 +204,8 @@ func parseEnvFiles(s *Service) {
for _, v := range v { for _, v := range v {
envfiles = append(envfiles, v.(string)) envfiles = append(envfiles, v.(string))
} }
case string:
envfiles = append(envfiles, v)
default: default:
log.Printf("%+v %T", s.RawEnvFiles, s.RawEnvFiles) log.Printf("%+v %T", s.RawEnvFiles, s.RawEnvFiles)
log.Fatal("EnvFile type not supported") log.Fatal("EnvFile type not supported")