BBlack has submitted this change and it was merged. Change subject: another fixup for the security_audit empty backends thing... ......................................................................
another fixup for the security_audit empty backends thing... Change-Id: I7835a7b032d1b83f0bfcdc54a7f363bb40d0ed9a --- M templates/varnish/text-backend.inc.vcl.erb 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: BBlack: Verified; Looks good to me, approved diff --git a/templates/varnish/text-backend.inc.vcl.erb b/templates/varnish/text-backend.inc.vcl.erb index f8597f2..726755b 100644 --- a/templates/varnish/text-backend.inc.vcl.erb +++ b/templates/varnish/text-backend.inc.vcl.erb @@ -42,7 +42,7 @@ } <% end -%> -<% if @varnish_directors.include?('security_audit') && !@varnish_directors['security_audit'].backends.empty? %> +<% if @varnish_directors.include?('security_audit') && !@varnish_directors['security_audit']['backends'].empty? %> if (req.http.X-Wikimedia-Security-Audit == "1") { set req.backend = security_audit; } -- To view, visit https://gerrit.wikimedia.org/r/229910 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7835a7b032d1b83f0bfcdc54a7f363bb40d0ed9a Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: BBlack <bbl...@wikimedia.org> Gerrit-Reviewer: BBlack <bbl...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits