Skip to content

Commit 2f7a745

Browse files
committed
fix(cluster): import generic
Signed-off-by: Chris Snow <[email protected]>
1 parent b74c3a1 commit 2f7a745

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

hpecp/cli/k8scluster.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,10 @@ def import_generic_cluster(
334334
------
335335
APIException
336336
"""
337-
base.get_client().k8s_cluster.import_generic_cluster(
338-
name, description, pod_dns_domain, server_url, ca, bearer_token
337+
print(
338+
base.get_client().k8s_cluster.import_generic_cluster(
339+
name, description, pod_dns_domain, server_url, ca, bearer_token
340+
)
339341
)
340342

341343
@base.intercept_exception
@@ -369,6 +371,8 @@ def import_generic_cluster_with_json(
369371

370372
json_content = json.loads(json_content)
371373

372-
base.get_client().k8s_cluster.import_generic_cluster_with_json(
373-
json_content
374+
print(
375+
base.get_client().k8s_cluster.import_generic_cluster_with_json(
376+
json_content
377+
)
374378
)

0 commit comments

Comments
 (0)