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: Akash Singhal <[email protected]>
Signed-off-by: Josh Duffney <[email protected]>
  • Loading branch information
duffney and akashsinghal authored Dec 3, 2024
1 parent 7fbc3e2 commit f996acc
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 @@ -311,7 +311,7 @@ func (s *akvKMProvider) GetKeys(ctx context.Context) (map[keymanagementprovider.
keyVaultKey.VersionHistoryLimit = len(sortedVersionHistory)
}

// get the latest version of the certificate up to the limit
// get the latest version of the key up to the limit
for _, version := range sortedVersionHistory[len(sortedVersionHistory)-keyVaultKey.VersionHistoryLimit:] {
keyResponse, err := s.keyKVClient.GetKey(ctx, keyVaultKey.Name, version)
if err != nil {
Expand Down

0 comments on commit f996acc

Please sign in to comment.