diff --git a/internal/livelint/check_can_access_app.go b/internal/livelint/check_can_access_app.go index 9df7690..31ec06b 100644 --- a/internal/livelint/check_can_access_app.go +++ b/internal/livelint/check_can_access_app.go @@ -68,6 +68,8 @@ func (n *Livelint) canPortForward(pod apiv1.Pod, port int32, checkFunc func(uint panic(err) } path := fmt.Sprintf("/api/v1/namespaces/%s/pods/%s/portforward", pod.Namespace, pod.Name) + + // Sus: Does this trim make sense? hostIP := strings.TrimLeft(n.config.Host, "htps:/") fmt.Println(hostIP) serverURL := url.URL{Scheme: "https", Path: path, Host: hostIP}