diff --git a/cnf-certification-test/operator/suite.go b/cnf-certification-test/operator/suite.go index 40718d40c..d7343229e 100644 --- a/cnf-certification-test/operator/suite.go +++ b/cnf-certification-test/operator/suite.go @@ -382,7 +382,6 @@ func testOperatorPodsRunAsNonRoot(check *checksdb.Check, env *provider.TestEnvir check.LogInfo("Testing Pod %q in namespace %q", pod.Name, pod.Namespace) // We are looking through both the containers and the pods separately to make compliant and non-compliant objects. for _, c := range pod.Containers { - skipKnownContainer := false for _, k := range knownContainersToSkip { if c.Name == k {