BBlack has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/392065 )

Change subject: normalization followup fix for $cluster...
......................................................................


normalization followup fix for $cluster...

Change-Id: Ie5b1dfee69759889f19dabcede53a73d2072419d
---
M modules/varnish/templates/normalize_path.inc.vcl.erb
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  BBlack: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/varnish/templates/normalize_path.inc.vcl.erb 
b/modules/varnish/templates/normalize_path.inc.vcl.erb
index 3147cf5..9bea315 100644
--- a/modules/varnish/templates/normalize_path.inc.vcl.erb
+++ b/modules/varnish/templates/normalize_path.inc.vcl.erb
@@ -45,7 +45,7 @@
 #include <inttypes.h>
 #include <string.h>
 
-<%- if @cluster == "cache_upload" -%>
+<%- if scope.function_hiera(['cluster']) == "cache_upload" -%>
 
 static const uintptr_t decoder_ring[256] = {
   // 0x00-0x1F (all unprintable)
@@ -283,7 +283,7 @@
 
 }C
 
-<%- if @cluster == "cache_upload" -%>
+<%- if scope.function_hiera(['cluster']) == "cache_upload" -%>
 // Upload uses the new full-normalization code
 
 sub normalize_upload_path {

-- 
To view, visit https://gerrit.wikimedia.org/r/392065
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie5b1dfee69759889f19dabcede53a73d2072419d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to