From 4f96e48082d5b968542b178ac8b6e25eb33c8c1d Mon Sep 17 00:00:00 2001 From: mrrishi Date: Thu, 14 Nov 2024 13:25:32 +0530 Subject: [PATCH] fix typo --- pkg/KubeArmorOperator/internal/controller/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/KubeArmorOperator/internal/controller/cluster.go b/pkg/KubeArmorOperator/internal/controller/cluster.go index fd1e5af0a..b0857c304 100644 --- a/pkg/KubeArmorOperator/internal/controller/cluster.go +++ b/pkg/KubeArmorOperator/internal/controller/cluster.go @@ -722,7 +722,7 @@ func (clusterWatcher *ClusterWatcher) DeleteAllTlsSecrets() error { for _, secret := range tlsSecrets { err := clusterWatcher.Client.CoreV1().Secrets(common.Namespace).Delete(context.Background(), secret, v1.DeleteOptions{}) if err != nil { - clusterWatcher.Log.Errorf("error while deleing secret: %s, error=%s", secret, err.Error()) + clusterWatcher.Log.Errorf("error while deleting secret: %s, error=%s", secret, err.Error()) return err } }