From 2dcceae964868572b56ca0cd25b48cf3d27dbe41 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Sat, 29 Feb 2020 11:11:01 +0800 Subject: Fix typo in infra_workload API handler Change-Id: I8bacf825ac3568952673075aaa55436bd10a215b Issue-ID: MULTICLOUD-1003 Signed-off-by: Bin Yang --- share/starlingx_base/resource/k8s_infra_workload_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/starlingx_base/resource/k8s_infra_workload_helper.py b/share/starlingx_base/resource/k8s_infra_workload_helper.py index f34b433b..5efb94e6 100644 --- a/share/starlingx_base/resource/k8s_infra_workload_helper.py +++ b/share/starlingx_base/resource/k8s_infra_workload_helper.py @@ -107,7 +107,7 @@ class InfraWorkloadHelper: os.mkdir(basedir) logger.debug("k8s profile temp dir for %s,%s,%s is %s" % (rbname, rbversion, profilename, basedir)) with open(basedir+manifest_yaml_filename, "w") as f_manifest_yaml: - yaml.dump(f_manifest_yaml, f1, Dumper=yaml.RoundTripDumper) + yaml.dump(manifest_yaml_json, f_manifest_yaml, Dumper=yaml.RoundTripDumper) with open(basedir+override_values_yaml_filename, "w") as f_override_values_yaml: yaml.dump(override_values_yaml_json, f_override_values_yaml, Dumper=yaml.RoundTripDumper) -- cgit 1.2.3-korg