mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-31 01:24:57 +00:00
Fixed the double action for commands: console and scripts, when running the proxyRunner
This commit is contained in:
parent
6a890e6653
commit
994307f45c
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user