Skip to content

Commit 6bf9cab

Browse files
committed
fix(cluster): import from json
Signed-off-by: Chris Snow <[email protected]>
1 parent 31d94f8 commit 6bf9cab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hpecp/cli/k8scluster.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ def import_generic_cluster_with_json(
367367
with open(json_file_path, "r") as f:
368368
json_content = f.read()
369369

370+
json_content = json.loads(json_content)
371+
370372
base.get_client().k8s_cluster.import_generic_cluster_with_json(
371373
json_content
372374
)

0 commit comments

Comments
 (0)