python-cloudkittyclient/cloudkittyclient
Rafael Weingärtner a15f11a7d2 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.

Change-Id: Iedd541c0ad16db0d11d6e6de332eddf880af1698
2020-12-11 10:25:10 -03:00
..
common Remove six 2020-05-10 23:08:12 +08:00
tests Add support for GET /v2/dataframes API endpoint to the client 2020-09-08 12:49:29 +00:00
v1 Fix `create_threshold` method when using cost as 0 2020-12-11 10:25:10 -03:00
v2 Add support for GET /v2/dataframes API endpoint to the client 2020-09-08 12:49:29 +00:00
__init__.py Delete unnecessary utf-8 coding 2016-12-27 10:08:37 +08:00
auth.py Rewrite of the client 2018-06-15 12:08:21 +02:00
client.py Rewrite of the client 2018-06-15 12:08:21 +02:00
exc.py Rewrite of the client 2018-06-15 12:08:21 +02:00
format.py Rewrite of the client 2018-06-15 12:08:21 +02:00
osc.py Add support for /v2/summary to the client 2019-06-27 14:49:34 +00:00
shell.py Fix tox environments 2019-12-17 15:10:17 +01:00
utils.py Improve HTTP error formatting 2019-11-28 11:52:40 +01:00