Fix(RunScriptAction): default trace status to IN_PROGRESS for Windows/Linux to prevent duplicate traces in combination with ogagent
parent
e2d1483134
commit
ddeea59173
|
|
@ -175,7 +175,7 @@ class RunScriptAction extends AbstractOgAgentController
|
|||
if ($existingTrace) {
|
||||
$this->updateExistingTrace($existingTrace, $jobId, $inputData, $client);
|
||||
} else {
|
||||
$status = ($this->isLinuxOrWindows($client) || $this->isLinuxOrWindowsSession($client)) ? TraceStatus::SENT : TraceStatus::IN_PROGRESS;
|
||||
$status = TraceStatus::IN_PROGRESS;
|
||||
$this->createService->__invoke($client, CommandTypes::RUN_SCRIPT, $status, $jobId, $inputData);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue