Werk #11612: Web API: bulk_discovery_start: Prevent error when parsing bulk_size parameter

Component Setup
Title Web API: bulk_discovery_start: Prevent error when parsing bulk_size parameter
Date Dec 1, 2020
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

An API call to the endpoint bulk_discovery_start could fail in case the bulk_size parameter was given as string (via URL or request body). A TypeError was raised in this case. The API now converts the type as expected.

To the list of all Werks