From 4f2312877f99b1cf5e4c59e59f68d0ee4efdd81e Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 6 Nov 2024 16:37:37 +0100 Subject: [PATCH] Remove unused comments on cluster registration command Change-Id: I24f3fb62f3d72ce1806a37aa615e63e779d487e0 Signed-off-by: garciadeblas --- osmclient/cli_commands/cluster.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/osmclient/cli_commands/cluster.py b/osmclient/cli_commands/cluster.py index 147ce70..8231e10 100755 --- a/osmclient/cli_commands/cluster.py +++ b/osmclient/cli_commands/cluster.py @@ -228,24 +228,12 @@ def cluster_register( NAME: name of the K8s cluster """ logger.debug("") - # kwargs = {k: v for k, v in kwargs.items() if v is not None} cluster = {} cluster["name"] = name with open(creds, "r") as cf: cluster["credentials"] = yaml.safe_load(cf.read()) - # cluster["k8s_version"] = version cluster["vim_account"] = vim_account - # cluster["nets"] = yaml.safe_load(k8s_nets) - # if not (init_jujubundle and init_helm3): - # cluster["deployment_methods"] = { - # "juju-bundle": init_jujubundle, - # "helm-chart-v3": init_helm3, - # } if description: cluster["description"] = description - # if namespace: - # cluster["namespace"] = namespace - # if cni: - # cluster["cni"] = yaml.safe_load(cni) cluster["bootstrap"] = bootstrap ctx.obj.cluster.register(name, cluster) -- 2.25.1