fix: actually pass the nodeName in submitNow
This commit is contained in:
@@ -333,7 +333,7 @@ class K8sTaskHandler extends TaskHandler implements FusionAwareTask {
|
|||||||
*/
|
*/
|
||||||
@CompileDynamic
|
@CompileDynamic
|
||||||
void submitNow(String nodeName) {
|
void submitNow(String nodeName) {
|
||||||
final req = newSubmitRequest(task)
|
final req = newSubmitRequest(task, nodeName)
|
||||||
final resp = useJobResource()
|
final resp = useJobResource()
|
||||||
? client.jobCreate(req, yamlDebugPath())
|
? client.jobCreate(req, yamlDebugPath())
|
||||||
: client.podCreate(req, yamlDebugPath())
|
: client.podCreate(req, yamlDebugPath())
|
||||||
|
|||||||
Reference in New Issue
Block a user