Make "-c" (compose-file) argument repeated

This commit is contained in:
2022-06-09 09:20:12 +02:00
parent 918baa2ce0
commit af05e41225
3 changed files with 6 additions and 7 deletions

View File

@@ -127,7 +127,7 @@ func setUp(t *testing.T) (string, *compose.Parser) {
}
composefile := filepath.Join(tmpwork, "docker-compose.yaml")
p := compose.NewParser(composefile, DOCKER_COMPOSE_YML)
p := compose.NewParser([]string{composefile}, DOCKER_COMPOSE_YML)
// create envfile for "useenvfile" service
err = os.Mkdir(filepath.Join(tmpwork, "config"), 0777)