mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-12 08:43:02 +08:00
refactor(config): adjust declared config location
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user