diff --git a/engine/packages/pegboard/src/workflows/actor/runtime.rs b/engine/packages/pegboard/src/workflows/actor/runtime.rs index 159b46d2de..f9c45854b6 100644 --- a/engine/packages/pegboard/src/workflows/actor/runtime.rs +++ b/engine/packages/pegboard/src/workflows/actor/runtime.rs @@ -264,8 +264,8 @@ async fn allocate_actor_v2( .map(|pool| matches!(pool.config.kind, RunnerConfigKind::Serverless { .. })) .unwrap_or(false); - // Protocol version is set or this is a serverless pool; migrate to actor v2 - if pool.as_ref().and_then(|p| p.protocol_version).is_some() || for_serverless { + // Protocol version is set or this is a serverless pool + if pool.and_then(|p| p.protocol_version).is_some() { return Ok(AllocateActorOutputV2 { status: AllocateActorStatus::MigrateToV2, serverless: false,