Skip to content
Snippets Groups Projects
Commit eeac35d1 authored by Moe Jette's avatar Moe Jette
Browse files

Note that rm_get_jobs() logic now working. Needed to use 401 drivers.

parent e0ee3b34
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,7 @@ static void _term_agent(bgl_update_t *bgl_update_ptr) ...@@ -209,7 +209,7 @@ static void _term_agent(bgl_update_t *bgl_update_ptr)
rm_job_list_t *job_list; rm_job_list_t *job_list;
int live_states; int live_states;
live_states = JOB_ALL_FLAG;// & (~RM_JOB_TERMINATED) & (~RM_JOB_KILLED); live_states = JOB_ALL_FLAG & (~RM_JOB_TERMINATED) & (~RM_JOB_KILLED);
if ((rc = rm_get_jobs(live_states, &job_list)) != STATUS_OK) { if ((rc = rm_get_jobs(live_states, &job_list)) != STATUS_OK) {
error("rm_get_jobs() errno=%d", rc); error("rm_get_jobs() errno=%d", rc);
return; return;
...@@ -219,8 +219,6 @@ static void _term_agent(bgl_update_t *bgl_update_ptr) ...@@ -219,8 +219,6 @@ static void _term_agent(bgl_update_t *bgl_update_ptr)
error("rm_get_data(RM_JobListSize) errno=%d", rc); error("rm_get_data(RM_JobListSize) errno=%d", rc);
return; return;
} }
/* FIXME: job count is bogus */
info("job count=%d", jobs);
#ifdef USE_BGL_FILES #ifdef USE_BGL_FILES
for (i=0; i<jobs; i++) { for (i=0; i<jobs; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment