fix: gate d601 v03 postgres mode by yaml switch (#972)
Co-authored-by: Codex <codex@noreply.local>
This commit is contained in:
@@ -326,6 +326,10 @@ export interface HwlabRuntimeLaneSpec {
|
||||
readonly downloadProfile: HwlabDownloadProfileSpec;
|
||||
}
|
||||
|
||||
export function hwlabRuntimeActiveExternalPostgres(spec: HwlabRuntimeLaneSpec): HwlabRuntimeExternalPostgresSpec | undefined {
|
||||
return spec.runtimeStore?.postgres?.mode === "platform-service" ? spec.externalPostgres : undefined;
|
||||
}
|
||||
|
||||
export const HWLAB_NODE_LANE_CONFIG_PATH = "config/hwlab-node-lanes.yaml";
|
||||
|
||||
interface HwlabLaneConfig {
|
||||
|
||||
Reference in New Issue
Block a user