Skip to content

Commit 631807a

Browse files
committed
Fixed skipping condition.
1 parent 4174e61 commit 631807a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ pub async fn reconcile(ingress: Arc<Ingress>, ctx: Arc<ctx::Context>) -> I2GResu
296296
.annotations
297297
.as_ref()
298298
.and_then(|ann| ann.get(consts::TRANSLATE_INGRESS))
299-
.map(|v| v.to_lowercase() == "true")
300-
.unwrap_or(!ctx.args.skip_by_default);
299+
.map(|v| v.to_lowercase() != "true")
300+
.unwrap_or(ctx.args.skip_by_default);
301301

302302
if skip_translation {
303303
tracing::info!("Skipping translation due to annotation or operator settings");

0 commit comments

Comments
 (0)