api/http/handler/upload/upload_tls.go
Method Handler.uploadTLS
has 5 return statements (exceeds 4 allowed). Open
Open
func (handler *Handler) uploadTLS(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
certificate, err := request.RetrieveRouteVariableValue(r, "certificate")
if err != nil {
return httperror.BadRequest("Invalid certificate route variable", err)
}