Allow stdoutRedPth to be NULL in taskmgr
This commit is contained in:
parent
9f46710bac
commit
72e223c5c2
|
@ -374,8 +374,8 @@ class TaskMgr(threading.Thread):
|
||||||
commandLine = json_task['command'],
|
commandLine = json_task['command'],
|
||||||
packagePath = json_task['srcAddr'],
|
packagePath = json_task['srcAddr'],
|
||||||
envVars = {}),
|
envVars = {}),
|
||||||
stderrRedirectPath = json_task['stdErrRedPth'],
|
stderrRedirectPath = json_task.get('stdErrRedPth',""),
|
||||||
stdoutRedirectPath = json_task['stdOutRedPth']),
|
stdoutRedirectPath = json_task.get('stdOutRedPth',"")),
|
||||||
cluster = Cluster(
|
cluster = Cluster(
|
||||||
image = Image(
|
image = Image(
|
||||||
name = json_task['image'].split('_')[0], #json_task['cluster']['image']['name'],
|
name = json_task['image'].split('_')[0], #json_task['cluster']['image']['name'],
|
||||||
|
|
Loading…
Reference in New Issue