Skip to content

Commit

Permalink
httptransport: fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Feb 22, 2022
1 parent df0b2b4 commit c8024bb
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 @@ -43,7 +43,7 @@ func (h *NotifHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
default:
resp := &je.Response{
Code: "method-not-allowed",
Message: "endpoint only allows POST or DELETE",
Message: "endpoint only allows GET or DELETE",
}
je.Error(w, resp, http.StatusMethodNotAllowed)
}
Expand Down

0 comments on commit c8024bb

Please sign in to comment.