Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhi.li committed Jan 25, 2024
1 parent ddb483b commit cf9f0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/keystore/azure/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (c *client) CreateSecret(ctx context.Context, name, value string) (status,
// if the secret is disabled, expired or should not
// be used, yet.
func (c *client) GetSecret(ctx context.Context, name, version string) (string, status, error) {
response, err := c.azsecretsClient.GetSecret(ctx, name, "", &azsecrets.GetSecretOptions{})
response, err := c.azsecretsClient.GetSecret(ctx, name, version, &azsecrets.GetSecretOptions{})
if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
return "", status{}, err
}
Expand Down

0 comments on commit cf9f0dd

Please sign in to comment.