Skip to content

Commit

Permalink
Update internal/keystore/azure/client.go
Browse files Browse the repository at this point in the history
Signed-off-by: Harshavardhana <harsha@minio.io>
  • Loading branch information
harshavardhana authored Jan 12, 2024
1 parent bd35788 commit 69a6492
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 @@ -151,7 +151,7 @@ func (c *client) GetSecret(ctx context.Context, name, version string) (string, s
return "", status{
StatusCode: http.StatusUnprocessableEntity,
ErrorCode: "ObjectIsDisabled",
Message: fmt.Sprintf("The secret %q is current disabled and cannot be used", name),
Message: fmt.Sprintf("The secret %q is disabled and cannot be used", name),
}, nil
}
if response.Attributes.NotBefore != nil && time.Since(*response.Attributes.NotBefore) <= 0 {
Expand Down

0 comments on commit 69a6492

Please sign in to comment.