Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynom committed Apr 26, 2017
1 parent a004b5a commit cde0d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/allowedactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewAllowedActions(l log.Logger, allowedActions []string) func(h http.Handle
action := r.URL.Path[1:]
if _, exists := actions[action]; !exists {
l.Log("error", "action is not white-listed", "action", action, "allowed", strings.Join(allowedActions, ","))
http.Error(w, "Unregisterd action", http.StatusNotAcceptable)
http.Error(w, "Unregisterd action", http.StatusBadRequest)
return
}

Expand Down

0 comments on commit cde0d74

Please sign in to comment.