refactor: variableize yaml lane node naming
This commit is contained in:
+2
-2
@@ -760,7 +760,7 @@ function cicdHelpSummary(): unknown {
|
||||
};
|
||||
}
|
||||
|
||||
function hwlabG14HelpSummary(): unknown {
|
||||
function hwlabLegacyRuntimeHelpSummary(): unknown {
|
||||
return {
|
||||
command: "hwlab g14 retirement",
|
||||
output: "json",
|
||||
@@ -840,7 +840,7 @@ export async function staticNamespaceHelp(args: string[]): Promise<unknown | nul
|
||||
return loadHelp(async () => (await import("./hwlab-node-hwpod-preinstall")).hwlabNodeHwpodPreinstallHelp(), hwlabNodeHelpSummary());
|
||||
}
|
||||
if (top === "hwlab" && (sub === "node" || sub === "nodes")) return loadHelp(async () => (await import("./hwlab-node")).hwlabNodeHelp(), hwlabNodeHelpSummary());
|
||||
if (top === "hwlab" && sub === "g14") return loadHelp(async () => (await import("./hwlab-g14")).hwlabG14Help(), hwlabG14HelpSummary());
|
||||
if (top === "hwlab" && sub === "g14") return loadHelp(async () => (await import("./hwlab-legacy-runtime")).hwlabLegacyRuntimeHelp(), hwlabLegacyRuntimeHelpSummary());
|
||||
if (top === "hwlab") return loadHelp(async () => (await import("./hwlab-cd")).hwlabHelp(), hwlabHelpSummary());
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user