(w http.ResponseWriter, r *http.Request)
| 393 | } |
| 394 | |
| 395 | func (s *Server) handleDoctorChecks(w http.ResponseWriter, r *http.Request) { |
| 396 | if r.Method != http.MethodGet { |
| 397 | methodNotAllowed(w) |
| 398 | return |
| 399 | } |
| 400 | checks, err := s.services.Doctor.RunChecks(r.Context()) |
| 401 | writeResult(w, checks, err) |
| 402 | } |
| 403 | |
| 404 | func (s *Server) handleLaunchDryRun(w http.ResponseWriter, r *http.Request) { |
| 405 | if r.Method != http.MethodPost && r.Method != http.MethodGet { |
nothing calls this directly
no test coverage detected