diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 56b69713c..1da36b82f 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -20,7 +20,6 @@ package utils import ( - //"fmt" "os" "regexp" "strconv" diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 97306a67c..f351f2517 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -63,7 +63,7 @@ func TestRun(t *testing.T) { } utils.KubeClient = testEnv.K8sClient - utils.InitInformerMap() + utils.InitInformerMap(testEnv.Config) // Start controller with fake notifiers go controller.RegisterInformers(testEnv.Config, notifiers) @@ -104,8 +104,6 @@ func StartFakeSlackBot(testenv *env.TestEnv) { SlackURL: testenv.SlackServer.GetAPIURL(), BotID: testenv.SlackServer.BotID, DefaultNamespace: testenv.Config.Settings.Kubectl.DefaultNamespace, - Verbs: testenv.Config.Settings.Kubectl.Commands.Verbs, - Resources: testenv.Config.Settings.Kubectl.Commands.Resources, } go sb.Start() }