Adjust urls with new 'address' functionality

* explisit scheme replaced with with_scheme flag
* ports provided to address function

Change-Id: I1b8a7e6d9d6653e9744d8d8b44b2000d3d85ce43
This commit is contained in:
Andrey Pavlov 2016-11-16 11:25:22 +00:00
parent 09dd88d0ed
commit be2b7b56cf
1 changed files with 1 additions and 1 deletions

View File

@ -13,4 +13,4 @@ service:
type: "exec"
daemon:
command: etcd --listen-client-urls http://0.0.0.0:{{ etcd.client_port.cont }}
--advertise-client-urls http://{{ address("etcd") }}:{{ etcd.client_port.cont }}
--advertise-client-urls {{ address("etcd", etcd.client_port, with_scheme=True) }}