From b1d8bc1d953f6593ae1e6b5750645057da507a2f Mon Sep 17 00:00:00 2001 From: Josh Duffney Date: Thu, 31 Oct 2024 09:28:11 -0500 Subject: [PATCH] Update pkg/keymanagementprovider/azurekeyvault/provider.go Co-authored-by: Binbin Li Signed-off-by: Josh Duffney --- pkg/keymanagementprovider/azurekeyvault/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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