Release 1.5.4 (#931)

* Bump version
* Update release notes
* Make it possible to configure registration of Service in Consul via env variables
This commit is contained in:
Alexander Kukushkin
2019-01-15 12:14:19 +01:00
committed by GitHub
parent 71dae6a905
commit 381a5b80d2
8 changed files with 73 additions and 4 deletions
+1
View File
@@ -372,6 +372,7 @@ class ConsulController(AbstractDcsController):
def __init__(self, context):
super(ConsulController, self).__init__(context)
os.environ['PATRONI_CONSUL_HOST'] = 'localhost:8500'
os.environ['PATRONI_CONSUL_REGISTER_SERVICE'] = 'on'
self._client = consul.Consul()
self._config_file = None