Skip to content

Commit

Permalink
httptransport: error message correction
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Nov 11, 2021
1 parent 88cf06e commit 96bad4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httptransport/notificationshandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (h *NotifHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
default:
resp := &je.Response{
Code: "method-not-allowed",
Message: "endpoint only allows POST",
Message: "endpoint only allows POST or DELETE",
}
je.Error(w, resp, http.StatusMethodNotAllowed)
}
Expand Down

0 comments on commit 96bad4f

Please sign in to comment.