X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f17cabd0672f80de53186d42855aacba482b4ccf..c6314ca47008f1ffd0fe70fe025a57475b64e773:/src/store/run-process-panel/run-process-panel-actions.ts diff --git a/src/store/run-process-panel/run-process-panel-actions.ts b/src/store/run-process-panel/run-process-panel-actions.ts index 7203d375eb..b543b16070 100644 --- a/src/store/run-process-panel/run-process-panel-actions.ts +++ b/src/store/run-process-panel/run-process-panel-actions.ts @@ -88,7 +88,7 @@ export const setWorkflow = (workflow: WorkflowResource, isWorkflowChanged = true } }; -const loadPresets = (workflowUuid: string) => +export const loadPresets = (workflowUuid: string) => async (dispatch: Dispatch, _: () => RootState, { workflowService }: ServiceRepository) => { const { items } = await workflowService.presets(workflowUuid); dispatch(runProcessPanelActions.SET_WORKFLOW_PRESETS(items)); @@ -135,7 +135,7 @@ export const runProcess = async (dispatch: Dispatch, getState: () => RootSt api: advancedForm[API_FIELD], }, schedulingParameters: { - maxRunTime: advancedForm[RUNTIME_FIELD] + max_run_time: advancedForm[RUNTIME_FIELD] }, containerImage: 'arvados/jobs', cwd: '/var/spool/cwl',