Commit 69a442bd authored by Marco Amagliani's avatar Marco Amagliani
Browse files

Check for a not started DOCloud process. In such a case ReForm fails.

The change use the same code that checks if DOCloud is not making progresses to  return a failure.
This can happen when IBM suspends DOCloud service for mainteinance. In such a case ReForm must terminate.

[git-p4: depot-paths = "//ReForm/ReForm/main/CoMISo/": change = 12793]
parent 0f205537
......@@ -447,7 +447,7 @@ void Job::abort()
{
std::string exct_stts;
stts_->find_value("executionStatus", exct_stts);
if (exct_stts != "RUNNING")
if (exct_stts != "RUNNING" && exct_stts != "NOT_STARTED")
return; // already aborted or aborting
cURLpp::Delete del;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment