fix memcached lists
Change-Id: I5e47ced95d4b958780134a2146f2cb993f57547e
This commit is contained in:
parent
f605e55e95
commit
0d326d36a5
@ -66,7 +66,7 @@ def deployment_event(namespace, meta, spec, **_):
|
||||
name = meta['labels']['app.kubernetes.io/instance']
|
||||
selector = spec['selector']['matchLabels']
|
||||
servers = utils.get_ready_pod_ips(namespace, selector)
|
||||
memcacheds = ["%s:11211" for s in servers]
|
||||
memcacheds = ["%s:11211" % s for s in servers]
|
||||
|
||||
utils.create_or_update('memcached/mcrouter.yml.j2',
|
||||
name=name, servers=memcacheds,
|
||||
|
Loading…
Reference in New Issue
Block a user