refactor(config): adjust declared config location

This commit is contained in:
2026-04-09 17:28:23 +08:00
parent 291371f8da
commit d29dad4691
4 changed files with 4 additions and 6 deletions

View File

@@ -44,8 +44,7 @@ public class VectorClientRegistry implements Configurable, ConfigRegistration<Ve
@Override
public @NotNull Map<Path, ConfigRegistration<? extends Config>> declare() {
return Map.of(Path.of("vector", "config.json"), this);
return Map.of(Path.of("vector.json"), this);
}
}

View File

@@ -54,7 +54,7 @@ object ExecutionPolicyRegistry : Configurable, ConfigRegistration<ExecutionPolic
}
override fun declare(): Map<Path, ConfigRegistration<out Config>> {
return mapOf(Path.of("core", "action", "runner_policy.json") to this)
return mapOf(Path.of("action", "runner_policy.json") to this)
}
override fun type(): Class<ExecutionPolicy> {