prepare job in k8s does not allow for no job container

This commit is contained in:
Nikola Jokic
2022-06-10 16:38:07 +02:00
parent 3e04b45585
commit d3ec1c0040
2 changed files with 6 additions and 2 deletions

View File

@@ -25,6 +25,10 @@ export async function prepareJob(
args: prepareJobArgs,
responseFile
): Promise<void> {
if (!args.container) {
throw new Error('Job Container is required.')
}
await prunePods()
if (!(await isAuthPermissionsOK())) {
throw new Error(