Remove unused comments on cluster registration command
Change-Id: I24f3fb62f3d72ce1806a37aa615e63e779d487e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
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 @@
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)