Skip to content

Commit 0d2b9c9

Browse files
g
1 parent 94bd709 commit 0d2b9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/haproxy/autoload.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
replace => false,
3333
}
3434

35-
$http_edge_rules_all = $http_edge_services.map | $service | {
35+
$http_edge_rules_all_placeholder = $http_edge_services.map | $service | {
3636
$http_edge_rules = flatten($http_edge_domains_envs.map |$domain, $options| {
3737
$match_type = pick($options['match_type'], 'str')
3838
$hdr_match = $match_type ? {
@@ -89,7 +89,7 @@
8989
[$service, $http_edge_rules]
9090
}
9191

92-
$http_edge_rules_all_real = Hash($http_edge_rules_all)
92+
$http_edge_rules_all = Hash($http_edge_rules_all_placeholder)
9393

9494
if 'canonicals' in $http_edge_services {
9595
$http_edge_canonicals_rules_real = flatten($http_edge_rules_all['canonicals'], 'set-var(txn.canonical_custom) hdr(X-Canonical-Custom) if { hdr(X-Canonical-Custom) -m found }', 'del-header X-Canonical-Custom if { hdr(X-Canonical-Custom) -m found }')

0 commit comments

Comments
 (0)