BATCH-2235: Updated ExitStatus#isRunning logic to use correct strings
This commit is contained in:
@@ -226,10 +226,10 @@ public class ExitStatus implements Serializable, Comparable<ExitStatus> {
|
||||
/**
|
||||
* Check if this status represents a running process.
|
||||
*
|
||||
* @return true if the exit code is "RUNNING" or "UNKNOWN"
|
||||
* @return true if the exit code is "EXECUTING" or "UNKNOWN"
|
||||
*/
|
||||
public boolean isRunning() {
|
||||
return "RUNNING".equals(this.exitCode) || "UNKNOWN".equals(this.exitCode);
|
||||
return "EXECUTING".equals(this.exitCode) || "UNKNOWN".equals(this.exitCode);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user