Skip to content

Commit

Permalink
chore: enable cleaning of SSH keys (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone authored Jan 17, 2025
1 parent 3e93945 commit e360c98
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/iam/v1alpha1/sweepers/sweepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ func SweepSSHKey(scwClient *scw.Client) error {
}

for _, sshKey := range listSSHKeys.SSHKeys {
if !testhelpers.IsTestResource(sshKey.Name) {
continue
}
err := iamAPI.DeleteSSHKey(&iam.DeleteSSHKeyRequest{
SSHKeyID: sshKey.ID,
})
Expand Down

0 comments on commit e360c98

Please sign in to comment.