Skip to content

Commit

Permalink
Update pkg/keymanagementprovider/azurekeyvault/provider.go
Browse files Browse the repository at this point in the history
Co-authored-by: Binbin Li <[email protected]>
Signed-off-by: Josh Duffney <[email protected]>
  • Loading branch information
duffney and binbin-li authored Oct 31, 2024
1 parent 96e5d25 commit b1d8bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/keymanagementprovider/azurekeyvault/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (s *akvKMProvider) GetCertificates(ctx context.Context) (map[keymanagementp
// GetSecret is required so we can fetch the entire cert chain. See issue https://github.com/ratify-project/ratify/issues/695 for details
secretBundle, err := s.kvClient.GetSecret(ctx, s.vaultURI, keyVaultCert.Name, keyVaultCert.Version)
if err != nil {
// certificate is disabled, remove it from the map
// remove the certificate from the map if disabled
var de autorest.DetailedError
if errors.As(err, &de) {
var re *azure.RequestError
Expand Down

0 comments on commit b1d8bc1

Please sign in to comment.