(_ http.ResponseWriter, r *http.Request)
| 5 | ) |
| 6 | |
| 7 | func (api *API) postConfigReload(_ http.ResponseWriter, r *http.Request) Response { |
| 8 | err := api.LoadConfig() |
| 9 | if err != nil { |
| 10 | return Response{ |
| 11 | Status: http.StatusInternalServerError, |
| 12 | Error: err.Error(), |
| 13 | } |
| 14 | } |
| 15 | return Response{} |
| 16 | } |
nothing calls this directly
no test coverage detected