fix: align pod feature flag naming

This commit is contained in:
2026-06-09 21:21:40 +09:00
parent f0f6cc92d8
commit 2fd37afb9e
12 changed files with 23 additions and 30 deletions
+2 -2
View File
@@ -595,11 +595,11 @@ where
// loop's `PodEvent` handler). Expose them only behind the explicit
// profile feature and require delegation authority up front so enabling
// the surface cannot imply broad child scope by accident.
if feature_config.pod_management.enabled {
if feature_config.pods.enabled {
if spawner_manifest.delegation_scope.allow.is_empty() {
return Err(std::io::Error::new(
std::io::ErrorKind::InvalidInput,
"[feature.pod_management].enabled = true requires non-empty [[delegation_scope.allow]]",
"[feature.pods].enabled = true requires non-empty [[delegation_scope.allow]]",
));
}
worker.register_tool(spawn_pod_tool(