Chain in k8s host thrown Exception
1. rename "_get_from_params" function to "_get_config_from_params"
@@ -98,8 +98,8 @@ class ClusterOnKubernetes(ClusterBase):
cluster = ClusterModel.objects.get(id=cid)
cluster_name = cluster.name
- kube_config = KubernetesOperation()._get_from_params(cluster
- .host
+ kube_config = \
+ KubernetesOperation()._get_config_from_params(cluster.host
.k8s_param)
operation = K8sClusterOperation(kube_config)
