From 628c2406c6016026131c8a3db7f82c52b123ce1a Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Mon, 19 Apr 2021 18:16:17 +0200 Subject: [PATCH] Fix formatting of release note Single backtick is italic, double backtick is code. Change-Id: Ieda9b224c07f653678661ab78ff66023aa8d3bf1 --- ...x-create_threshold-method-validation-f193e883e82214c9.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releasenotes/notes/fix-create_threshold-method-validation-f193e883e82214c9.yaml b/releasenotes/notes/fix-create_threshold-method-validation-f193e883e82214c9.yaml index d183a50..677865c 100644 --- a/releasenotes/notes/fix-create_threshold-method-validation-f193e883e82214c9.yaml +++ b/releasenotes/notes/fix-create_threshold-method-validation-f193e883e82214c9.yaml @@ -1,8 +1,8 @@ --- fixes: - | - Fix `create_threshold` method when using cost as 0. - When using 0 as the cost, the `create_threshold` method + 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.