hook up global networks

This commit is contained in:
Brad Rydzewski
2019-10-30 15:13:54 -07:00
parent 3761bd0df4
commit 5b1d8d65ed
4 changed files with 40 additions and 8 deletions

View File

@@ -251,7 +251,9 @@ func toVolumeType(from *Volume) mount.Type {
func toEnv(env map[string]string) []string {
var envs []string
for k, v := range env {
envs = append(envs, k+"="+v)
if v != "" {
envs = append(envs, k+"="+v)
}
}
return envs
}