poppyred / python-consul2

Python client for the Consul HTTP API ,Continue develop on cablehead/python-consul
https://python-consul2.readthedocs.io/
MIT License
130 stars 28 forks source link

Fix Policy update and create bug when description is None. #13

Closed snesbittsea closed 4 years ago

snesbittsea commented 4 years ago

Policy create and update routines contain a code block which tests for the presence of function parameters to determine json payload. As currently implemented both the "rules" and "datacenters" fields are determined by whether the "description" parameter is defined.

poppyred commented 4 years ago

@snesbittsea thank you 👍