Always render HAProxy context, with or without peers.

This commit is contained in:
Adam Gandelman
2013-08-19 15:09:46 -07:00
parent e383afbd62
commit 480018e337

View File

@@ -58,9 +58,6 @@ class HAProxyContext(context.HAProxyContext):
'''
from nova_cc_utils import api_port
ctxt = super(HAProxyContext, self).__call__()
if not ctxt:
# we do not have any other peers, do not load balance yet.
return {}
# determine which port api processes should bind to, depending
# on existence of haproxy + apache frontends