diff options
author | Igor D.C <igor.duarte.cardoso@intel.com> | 2020-10-08 23:50:55 +0000 |
---|---|---|
committer | Igor D.C <igor.duarte.cardoso@intel.com> | 2020-10-08 23:55:37 +0000 |
commit | edaf4416c5002254b60199a0b9710ebb23ccdf7b (patch) | |
tree | 6a46621b028f1de815a8cc31948ec41a2788e40a /src/dcm/pkg/module/logicalcloud_test.go | |
parent | 8ad373936c2438a06fd02202c507e3ceadbacea6 (diff) |
Fix mispelled key name in kubeconfig
Fixes the mispelled "currentcontext" with the right key name
"current-context" which was introduced as a regression with or
before the latest version of the kubeconfig code (probably a bad
search/replace).
This 1-character long bug was preventing the generated kubeconfigs
from being correctly interpreted by kubectl. Thus, kubectl couldn't
set any context of the kubeconfig as the current context.
Observable output before this fix:
$ kubectl get pods
The connection to the server localhost:8080 was refused - did you
specify the right host or port?
Issue-ID: MULTICLOUD-1143
Change-Id: I617d1e20b7be2567729b84d3746b22e4ceaf8b9d
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
Diffstat (limited to 'src/dcm/pkg/module/logicalcloud_test.go')
0 files changed, 0 insertions, 0 deletions