Merge "Fixing bug in single-create jinja config generation"

This commit is contained in:
Jenkins 2016-07-15 22:20:39 +00:00 committed by Gerrit Code Review
commit 7119a6a85a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ bind {{ lb_vip_address }}:{{ listener.protocol_port }} {{
{% elif l7policy.action == constants.L7POLICY_ACTION_REDIRECT_TO_URL %}
redirect location {{ l7policy.redirect_url }} if{{ l7rule_list_macro(
l7policy) }}
{% elif l7policy.action == constants.L7POLICY_ACTION_REDIRECT_TO_POOL %}
{% elif l7policy.action == constants.L7POLICY_ACTION_REDIRECT_TO_POOL and l7policy.redirect_pool.enabled %}
use_backend {{ l7policy.redirect_pool.id }} if{{ l7rule_list_macro(
l7policy) }}
{% endif %}