mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 08:40:23 +00:00
util: correct error message when connecting to Vault fails
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 83167e2ac5
)
This commit is contained in:
parent
cb40ae5bca
commit
a962cccd0a
@ -249,7 +249,7 @@ func (vc *vaultConnection) initCertificates(config map[string]interface{}, secre
|
||||
func (vc *vaultConnection) connectVault() error {
|
||||
v, err := vault.New(vc.vaultConfig)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed creating new Vault Secrets: %w", err)
|
||||
return fmt.Errorf("failed connecting to Vault: %w", err)
|
||||
}
|
||||
vc.secrets = v
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user