🐛 Remove a check that's forgotten to be removed

This commit is contained in:
M. Mert Yildiran
2023-03-18 16:52:50 +03:00
parent 3f01b2de60
commit c32a13094e

View File

@@ -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 {