diff --git a/networkapiclient/Pool.py b/networkapiclient/Pool.py index 41792a0..63bc787 100644 --- a/networkapiclient/Pool.py +++ b/networkapiclient/Pool.py @@ -98,7 +98,7 @@ def list_all_by_reqvip(self, id_vip, pagination): def inserir(self, identifier, default_port, environment, balancing, healthcheck_type, healthcheck_expect, healthcheck_request, old_healthcheck_id, maxcom, ip_list_full, nome_equips, id_equips, priorities, - weight, ports_reals, servicedownaction='none'): + weight, ports_reals, servicedownaction=None): uri = "api/pools/insert/" @@ -128,7 +128,7 @@ def inserir(self, identifier, default_port, environment, balancing, healthcheck_ def save(self, id, identifier, default_port, environment, balancing, healthcheck_type, healthcheck_expect, healthcheck_request, maxcom, ip_list_full, nome_equips, id_equips, priorities, - weight, ports_reals, id_pool_member, servicedownaction='none'): + weight, ports_reals, id_pool_member, servicedownaction=None): uri = "api/pools/save/" @@ -172,7 +172,7 @@ def save_reals(self, id_server_pool, ip_list_full, nome_equips, id_equips, prior return self.post(uri, data=data) def update(self, id_server_pool, default_port, balancing, healthcheck_type, healthcheck_expect, healthcheck_request, - old_healthcheck_id, maxcom, ip_list_full, nome_equips, id_equips, priorities, weight, ports_reals, servicedownaction='none'): + old_healthcheck_id, maxcom, ip_list_full, nome_equips, id_equips, priorities, weight, ports_reals, servicedownaction=None): uri = "api/pools/edit/"