From e360c98f921d92c89674642ce5b4362611c6f70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Fri, 17 Jan 2025 14:31:39 +0100 Subject: [PATCH] chore: enable cleaning of SSH keys (#2392) --- api/iam/v1alpha1/sweepers/sweepers.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/iam/v1alpha1/sweepers/sweepers.go b/api/iam/v1alpha1/sweepers/sweepers.go index b240e5df..239abafb 100644 --- a/api/iam/v1alpha1/sweepers/sweepers.go +++ b/api/iam/v1alpha1/sweepers/sweepers.go @@ -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, })