mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
util: correct error message when connecting to Vault fails
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
5cba04c470
commit
83167e2ac5
@ -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