Skip to content

Commit 106dfd2

Browse files
committed
Merge branch 'branches/rudder/8.2' into branches/rudder/8.3
2 parents 0290e83 + d85bfd9 commit 106dfd2

File tree

2 files changed

+78
-173
lines changed

2 files changed

+78
-173
lines changed

policies/rudderc/src/backends/unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl Backend for Unix {
8181
ItemKind::Block(r) => {
8282
let mut calls: Vec<(Promise, Option<Bundle>)> = vec![];
8383
if let Some(x) = dry_run_mode::push_policy_mode(r.policy_mode_override) {
84-
calls.push((x, None))
84+
calls.push((x.if_condition("pass3"), None))
8585
}
8686
for inner in r.items {
8787
calls.extend(resolve_module(
@@ -91,7 +91,7 @@ impl Backend for Unix {
9191
)?);
9292
}
9393
if let Some(x) = dry_run_mode::pop_policy_mode(r.policy_mode_override) {
94-
calls.push((x, None))
94+
calls.push((x.if_condition("pass3"), None))
9595
}
9696
Ok(calls)
9797
}

0 commit comments

Comments
 (0)