cmd/eksterd/incoming.go
Method incomingHandler.ServeHTTP
has 58 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (h *incomingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close()
err := r.ParseForm()
if err != nil {
- Create a ticketCreate a ticket
Method incomingHandler.ServeHTTP
has 9 return statements (exceeds 4 allowed). Open
Open
func (h *incomingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
defer r.Body.Close()
err := r.ParseForm()
if err != nil {
- Create a ticketCreate a ticket