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
+3 -3
View File
@@ -304,7 +304,7 @@ permission = "write"
}
#[tokio::test]
async fn pod_management_feature_requires_delegation_scope() {
async fn pods_feature_requires_delegation_scope() {
let manifest = r#"
[pod]
name = "pod-management-feature-test"
@@ -317,7 +317,7 @@ model_id = "test-model"
[worker]
max_tokens = 100
[feature.pod_management]
[feature.pods]
enabled = true
[[scope.allow]]
@@ -331,7 +331,7 @@ permission = "write"
assert!(result.is_err());
let message = result.err().unwrap().to_string();
assert!(
message.contains("[feature.pod_management].enabled = true requires non-empty"),
message.contains("[feature.pods].enabled = true requires non-empty"),
"unexpected error: {message}"
);
}