
When using 0 as the cost, the `create_threshold` method throws an exception. That happens because 0 (zero) is evaluated to False. Therefore, we need to change the validation method to check if the values are None. Change-Id: Iedd541c0ad16db0d11d6e6de332eddf880af1698
9 lines
303 B
YAML
9 lines
303 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fix `create_threshold` method when using cost as 0.
|
|
When using 0 as the cost, the `create_threshold` method
|
|
throws an exception. That happens because 0 (zero) is evaluated
|
|
to False. Therefore, we need to change the validation method to
|
|
check if the values are None.
|