diff --git a/pkg/apiserver/proxy.go b/pkg/apiserver/proxy.go index 4666fa970b929..88e052cdb7d74 100644 --- a/pkg/apiserver/proxy.go +++ b/pkg/apiserver/proxy.go @@ -147,12 +147,6 @@ func (r *ProxyHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { httpCode = status.Code return } - if location == "" { - httplog.LogOf(req, w).Addf("ResourceLocation for %v returned ''", id) - notFound(w, req) - httpCode = http.StatusNotFound - return - } destURL, err := url.Parse(location) if err != nil {