From 6e29d927c58e2285f763ce550ac73b94cf4e4fc0 Mon Sep 17 00:00:00 2001 From: Jie Chen Date: Fri, 31 Jan 2025 22:15:44 -0600 Subject: [PATCH] fix typo --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e993987..d07eb81 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ func init() { conf.TokenFile = viper.GetString("auth.0.tokenFile") conf.Kubeconfig = viper.GetString("auth.1.kubeconfig") conf.AdminCert = viper.GetString("auth.2.crt") - conf.AdminCert = viper.GetString("auth.2.key") + conf.AdminCertKey = viper.GetString("auth.2.key") var sshConfig structure.SSHConfig if err := viper.UnmarshalKey("ssh.0", &sshConfig); err != nil {