From 994307f45c438f5bc75e524469221f7ce3ea029d Mon Sep 17 00:00:00 2001 From: Alon Girmonsky <1990761+alongir@users.noreply.github.com> Date: Fri, 25 Oct 2024 12:40:06 -0700 Subject: [PATCH] Fixed the double action for commands: console and scripts, when running the proxyRunner --- cmd/proxyRunner.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/proxyRunner.go b/cmd/proxyRunner.go index 0b7804b92..2fa5e27af 100644 --- a/cmd/proxyRunner.go +++ b/cmd/proxyRunner.go @@ -92,13 +92,6 @@ func runProxy(block bool, noBrowser bool) { establishedProxy = true okToOpen("Kubeshark", frontUrl, noBrowser) } - if config.Config.Scripting.Source != "" && config.Config.Scripting.WatchScripts { - watchScripts(kubernetesProvider, false) - } - - if config.Config.Scripting.Console { - go runConsoleWithoutProxy() - } if establishedProxy && block { utils.WaitForTermination(ctx, cancel) }