Skip to content

Commit 3cb1ef6

Browse files
committed
Remove commented-out code in kubeconfigretriever.py
1 parent 10aacc0 commit 3cb1ef6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugins/kubeconfigretriever.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ def retrieve_kubeconfig(self, serverURL, kubeconfigFor, kubeconfig):
1515
if kubeconfigFor == 'consumer':
1616
cmd = "kubectl get configmaps kubeplus-saas-consumer-kubeconfig -n " + kubeplusNS + r" -o jsonpath='{.data.kubeplus-saas-consumer\.json}'"
1717

18-
#kubeconfigParts = kubeconfig.split("=")
19-
#kubeconfigPath = kubeconfigParts[1].strip()
2018
cmd = cmd + " --kubeconfig=" + kubeconfig
2119
out = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True).communicate()[0]
22-
#print(out)
2320
out = out.decode('utf-8')
2421
json_output = {}
2522
try:

0 commit comments

Comments
 (0)