From e7b63b091ac28f3a006adbee73f696ff9610962a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 16 Jun 2015 19:26:08 +0000 Subject: [PATCH] Typofix. --- roles/fedmsg/base/templates/endpoints.py.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/fedmsg/base/templates/endpoints.py.j2 b/roles/fedmsg/base/templates/endpoints.py.j2 index fe9c8fcf80..5186c27477 100644 --- a/roles/fedmsg/base/templates/endpoints.py.j2 +++ b/roles/fedmsg/base/templates/endpoints.py.j2 @@ -104,8 +104,8 @@ config = dict( # Dynamically generate endpoint declarations from our wsgi app vars. # Eventually, replace *all* fedmsg endpoint definitions with this one loop {% for host in groups['all'] %} -{% if 'fedmsg_wsgi_service' in hostvars[host] %} - "{{hostvars[host]['fedmsg_wsgi_service']}}.{{hostvars[host].split('.')|first}}": [ +{% if 'wsgi_fedmsg_service' in hostvars[host] %} + "{{hostvars[host]['wsgi_fedmsg_service']}}.{{hostvars[host].split('.')|first}}": [ {% for i in range(wsgi_procs * wsgi_threads) %} "tcp://{{host}}:30{{'%02d' % i}}", {% endfor %}