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
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0b2 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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