From fb28d9349569a3a7215c4d33d408d7309e3da207 Mon Sep 17 00:00:00 2001 From: Patrik Date: Wed, 29 Apr 2020 09:59:17 +0200 Subject: [PATCH] fix(k8s): fix typo in arg name (#970) Signed-off-by: Patrik Cyvoct --- internal/namespaces/k8s/v1/custom_kubeconfig_install.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/namespaces/k8s/v1/custom_kubeconfig_install.go b/internal/namespaces/k8s/v1/custom_kubeconfig_install.go index 86a88c0927..c605fbf0a5 100644 --- a/internal/namespaces/k8s/v1/custom_kubeconfig_install.go +++ b/internal/namespaces/k8s/v1/custom_kubeconfig_install.go @@ -19,9 +19,9 @@ const ( ) type k8sKubeconfigInstallRequest struct { - ClusterID string - Region scw.Region - KeepCurentContext bool + ClusterID string + Region scw.Region + KeepCurrentContext bool } func k8sKubeconfigInstallCommand() *core.Command { @@ -160,7 +160,7 @@ func k8sKubeconfigInstallRun(ctx context.Context, argsI interface{}) (i interfac } // set the current context to the new one - if !request.KeepCurentContext { + if !request.KeepCurrentContext { existingKubeconfig.CurrentContext = kubeconfig.Contexts[0].Name + "-" + request.ClusterID }