Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: ef51fdf2ce7b500a3e09d1dfba93bbe5ca89eb1d
https://github.com/tribe29/checkmk/commit/ef51fdf2ce7b500a3e09d1dfba93bbe5c…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2022-05-20 (Fri, 20 May 2022)
Changed paths:
A .werks/14256
M cmk/gui/plugins/openapi/endpoints/ruleset/__init__.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_rules.py
Log Message:
-----------
14256 FIX REST-API objects/ruleset: Change status code to 404 when ruleset doesn't
exist
The objects ruleset endpoint previously returned a 500 internal server error when
the ruleset didn't exist. This werk changes the status code to a 404 'Unknown
ruleset'
Change-Id: Ic774b0f22151a2bae49dc8a978f383fc19b66728