Skip to content

Commit

Permalink
Merge pull request #61 from runatlantis/build-issues
Browse files Browse the repository at this point in the history
Fix gometalint errors.
  • Loading branch information
lkysow authored Mar 11, 2018
2 parents 7d38501 + d959586 commit 10e1bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/events_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ func (e *EventsController) HandleGithubCommentEvent(w http.ResponseWriter, event
func (e *EventsController) HandleGithubPullRequestEvent(w http.ResponseWriter, pullEvent *github.PullRequestEvent, githubReqID string) {
pull, _, err := e.Parser.ParseGithubPull(pullEvent.PullRequest)
if err != nil {
e.respond(w, logging.Error, http.StatusBadRequest, "Error parsing pull data: %s", err)
e.respond(w, logging.Error, http.StatusBadRequest, "Error parsing pull data: %s %s", err, githubReqID)
return
}
repo, err := e.Parser.ParseGithubRepo(pullEvent.Repo)
if err != nil {
e.respond(w, logging.Error, http.StatusBadRequest, "Error parsing repo data: %s", err)
e.respond(w, logging.Error, http.StatusBadRequest, "Error parsing repo data: %s %s", err, githubReqID)
return
}
e.handlePullRequestEvent(w, repo, pull, vcs.Github)
Expand Down

0 comments on commit 10e1bf0

Please sign in to comment.