diff options
author | 2020-02-29 11:11:01 +0800 | |
---|---|---|
committer | 2020-02-29 11:27:41 +0800 | |
commit | 2dcceae964868572b56ca0cd25b48cf3d27dbe41 (patch) | |
tree | d9b4b4372542e0ff046cd8eadd4de4e18943bf6c /share/starlingx_base | |
parent | 4265cdb8fcacfa91ec6b420c0eed451b12679d8d (diff) |
Fix typo in infra_workload API handler
Change-Id: I8bacf825ac3568952673075aaa55436bd10a215b
Issue-ID: MULTICLOUD-1003
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'share/starlingx_base')
-rw-r--r-- | share/starlingx_base/resource/k8s_infra_workload_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |