fix memcached lists

Change-Id: I5e47ced95d4b958780134a2146f2cb993f57547e
This commit is contained in:
Mohammed Naser 2020-04-16 21:36:39 -04:00
parent f605e55e95
commit 0d326d36a5

View File

@ -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,