From 107b6e01094b89fc8c68659878b8b23741cfb0e1 Mon Sep 17 00:00:00 2001 From: mrrishi Date: Mon, 18 Nov 2024 12:22:13 +0530 Subject: [PATCH] fix: initialise correct vault conf --- pkg/credentials/root-credentials.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/credentials/root-credentials.go b/pkg/credentials/root-credentials.go index 1dbb9d3f..17cf3a06 100644 --- a/pkg/credentials/root-credentials.go +++ b/pkg/credentials/root-credentials.go @@ -73,7 +73,7 @@ func ParseAuthData(clientset kubernetes.Interface, cloudProvider string, domainN fmt.Println("Cannot retrieve Vault token automatically. Please provide one here:") fmt.Scanln(&vaultRootToken) } - vault := vault.Configuration{} + vault := vault.Conf kbotPassword, err = vault.GetUserPassword( vaultURL, vaultRootToken,