- (home): test upstream shouldn't fail with upstreams file

Closes: #2212
This commit is contained in:
Andrey Meshkov 2020-10-22 18:20:16 +03:00
parent 32b24ce093
commit 052a9ae196
1 changed files with 0 additions and 5 deletions

View File

@ -371,11 +371,6 @@ func (s *Server) handleTestUpstreamDNS(w http.ResponseWriter, r *http.Request) {
return
}
if len(req.Upstreams) == 0 {
httpError(r, w, http.StatusBadRequest, "No servers specified")
return
}
result := map[string]string{}
for _, host := range req.Upstreams {