Browse Source

Fix bug with generator

migrate-pregen
nicolas.dorier 7 years ago
parent
commit
c53f8dead9
  1. 3
      docker-compose-generator/src/Program.cs

3
docker-compose-generator/src/Program.cs

@ -94,7 +94,8 @@ namespace DockerGenerator
foreach(var fragment in composition.AdditionalFragments)
{
fragments.Add(fragment.Trim());
if(!string.IsNullOrWhiteSpace(fragment))
fragments.Add(fragment.Trim());
}
var def = new DockerComposeDefinition(name, fragments);

Loading…
Cancel
Save