mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-31 10:11:59 +00:00
🐛 Remove a check that's forgotten to be removed
This commit is contained in:
@@ -45,11 +45,6 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func acquireLicense() {
|
func acquireLicense() {
|
||||||
if config.Config.Scripting.Source == "" {
|
|
||||||
log.Error().Msg("`scripting.source` field is empty.")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
hubUrl := kubernetes.GetLocalhostOnPort(config.Config.Tap.Proxy.Hub.SrcPort)
|
hubUrl := kubernetes.GetLocalhostOnPort(config.Config.Tap.Proxy.Hub.SrcPort)
|
||||||
response, err := http.Get(fmt.Sprintf("%s/echo", hubUrl))
|
response, err := http.Get(fmt.Sprintf("%s/echo", hubUrl))
|
||||||
if err != nil || response.StatusCode != 200 {
|
if err != nil || response.StatusCode != 200 {
|
||||||
|
Reference in New Issue
Block a user