Skip to content

Commit

Permalink
fix: kvv2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Nov 14, 2024
1 parent 18a2215 commit b421953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vault/hashicorp_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func NewHashiCorpVaultSecretHandler(ctx context.Context, logger *zap.Logger, con
}

func (a *HashiCorpVaultSecretHandler) GetSecret(ctx context.Context, secretId string) (string, error) {
secret, err := a.client.KVv2(secretId).Get(ctx, secretId)
secret, err := a.client.KVv2(secretMountPath).Get(ctx, secretId)
if err != nil {
a.logger.Error("failed to get secret", zap.Error(err))
return "", err
Expand Down

0 comments on commit b421953

Please sign in to comment.