Branch: refs/heads/2.1.0
Home:
https://github.com/Checkmk/checkmk
Commit: a2cc0d7e012db163fc9d966d45b05fbebf21ccbd
https://github.com/Checkmk/checkmk/commit/a2cc0d7e012db163fc9d966d45b05fbeb…
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