Skip to content

Commit

Permalink
sched-simple: improve error log message
Browse files Browse the repository at this point in the history
Problem: when the hello protocol cannot process a job, it logs
the name of the wrong rlist function.

Make the log message a little more high level.
  • Loading branch information
garlick committed Nov 20, 2024
1 parent 409670a commit 24436e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sched-simple/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ static int hello_cb (flux_t *h,
}
s = rlist_dumps (alloc);
if ((rc = rlist_set_allocated (ss->rlist, alloc)) < 0)
flux_log_error (h, "hello: rlist_remove (%s)", s);
flux_log_error (h, "hello: alloc %s", s);
else
flux_log (h, LOG_DEBUG, "hello: alloc %s", s);
free (s);
Expand Down

0 comments on commit 24436e3

Please sign in to comment.