client: parse njobs_error in state file (don't lose info on transition)

This commit is contained in:
David Anderson 2017-03-26 18:47:42 -07:00
parent 2c493f50c1
commit d310efc264
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ int PROJECT::parse_state(XML_PARSER& xp) {
if (xp.parse_double("desired_disk_usage", desired_disk_usage)) continue;
if (xp.parse_int("njobs_success", njobs_success)) continue;
if (xp.parse_int("njobs_fail", njobs_fail)) continue;
if (xp.parse_int("njobs_error", njobs_fail)) continue;
// handle pre-7.7 state files
if (xp.parse_double("elapsed_time", elapsed_time)) continue;
if (xp.parse_double("last_rpc_time", last_rpc_time)) continue;
if (xp.parse_double("cpu_ec", cpu_ec)) continue;