From c20f52678c318a469813a70c168b56d6ffcd541d Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Mon, 2 Dec 2019 15:09:35 -0600 Subject: [PATCH] docker-app: Fix bad parameters file logic docker-app was changed between the original testing in 0.6 and the current 0.8 to not accept the short-hand argument for the parameters file. This change uses the long for which is easier to read and "just works". Signed-off-by: Andy Doan --- src/libaktualizr/package_manager/dockerappmanager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libaktualizr/package_manager/dockerappmanager.cc b/src/libaktualizr/package_manager/dockerappmanager.cc index 76114d3b7b..7f0c0142ea 100644 --- a/src/libaktualizr/package_manager/dockerappmanager.cc +++ b/src/libaktualizr/package_manager/dockerappmanager.cc @@ -50,7 +50,7 @@ struct DockerApp { Utils::writeFile(app_root / (name + ".dockerapp"), app_content); std::string cmd("cd " + app_root.string() + " && " + bin + " render " + name); if (!app_params.empty()) { - cmd += " -f " + app_params.string(); + cmd += " --parameters-file " + app_params.string(); } std::string yaml; if (Utils::shell(cmd, &yaml, true) != 0) {