diff --git a/pkg/keymanagementprovider/azurekeyvault/provider.go b/pkg/keymanagementprovider/azurekeyvault/provider.go index ec9544008..0adb31ffa 100644 --- a/pkg/keymanagementprovider/azurekeyvault/provider.go +++ b/pkg/keymanagementprovider/azurekeyvault/provider.go @@ -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