@ornncompute/cli 1.0.132 → 1.0.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/api-client.mjs
CHANGED
|
@@ -291,11 +291,7 @@ export async function operatorRequest({
|
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
|
|
295
|
-
return `/v1/workflows/compute${normalizeComputePath(path)}`;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export function normalizeComputePath(path) {
|
|
294
|
+
function normalizeComputePath(path) {
|
|
299
295
|
if (!path || typeof path !== "string") {
|
|
300
296
|
throw new CliApiError("API path is required.");
|
|
301
297
|
}
|
package/src/slurm-commands.mjs
CHANGED
|
@@ -277,8 +277,6 @@ export function createSlurmConnectModeHandler({ spawnProcess = spawnProcessDefau
|
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
export const slurmConnectModeHandler = createSlurmConnectModeHandler();
|
|
281
|
-
|
|
282
280
|
export const slurmLaunchModeHandler = {
|
|
283
281
|
mode: "slurm",
|
|
284
282
|
launch: (state) => launchClusterMode(state, "slurm"),
|