Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: ba7a67ebb40586cdc23296dee29679676825174d
https://github.com/Checkmk/checkmk/commit/ba7a67ebb40586cdc23296dee29679676…
Author: hatzfdaSICKAG <115229916+hatzfdaSICKAG(a)users.noreply.github.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
A .werks/16004
M cmk/notification_plugins/pushover.py
Log Message:
-----------
204 status should not trigger error message
Upon successfully sending a notification, not only a 200 can be the response, but also a
204 ("No Content"). Currently this results in an error, because at the moment
every status except 200 is treated like an unsuccessful notification.
With this change, a 204 does not result in "Failed to send notification"
anymore.
Change-Id: I6f179d441bf0b82a992d434a059f84e71a3943b5