Branch: refs/heads/2.0.0
Home:
https://github.com/Checkmk/checkmk
Commit: bcaa8db5639a6e1c915c23e697adb8d266ead734
https://github.com/Checkmk/checkmk/commit/bcaa8db5639a6e1c915c23e697adb8d26…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
A .werks/15979
M cmk/utils/bi/bi_packs.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_bi.py
Log Message:
-----------
15979 FIX bi: return 404 status code when trying to retrieve a non existing rule
Prior to this werk, the get bi rule endpoint returned a 500 status code whenever
the user tried to get a non existing rule. This werk fixes this and returns a
404 status code instead.
Ticket: SUP-14765
Change-Id: I0efb120c1332382eb464c210d27af622304407c6