Skip to content

Commit

Permalink
Merge pull request #492 from cmoussa1/add.return.to.exc
Browse files Browse the repository at this point in the history
`job.state.inactive`: add `return -1` to exception
  • Loading branch information
mergify[bot] authored Oct 1, 2024
2 parents 921b4ef + 3a61b6d commit b07f36c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/mf_priority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,11 @@ static int inactive_cb (flux_plugin_t *p,
if (flux_jobtap_dependency_remove (p,
jobid,
"max-running-jobs-user-limit") < 0)
{
flux_jobtap_raise_exception (p, jobid, "mf_priority",
0, "failed to remove job dependency");
return -1;
}

b->held_jobs.erase (b->held_jobs.begin ());
}
Expand Down

0 comments on commit b07f36c

Please sign in to comment.