Skip to content

Commit

Permalink
Merge pull request #465 from cmoussa1/fix.conf-update.brackets
Browse files Browse the repository at this point in the history
`conf.update`: add missing bracket in format string
  • Loading branch information
mergify[bot] authored Jul 10, 2024
2 parents f15bbcc + 70a2d37 commit a6bd897
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/mf_priority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,14 @@ static int conf_update_cb (flux_plugin_t *p,
// unpack the various factors to be used in job priority calculation
if (flux_plugin_arg_unpack (args,
FLUX_PLUGIN_ARG_IN,
"{s?{s?{s?{s?i, s?i}}}",
"{s?{s?{s?{s?i, s?i}}}}",
"conf", "accounting", "factor-weights",
"fairshare", &fshare_weight,
"queue", &queue_weight) < 0) {
flux_log_error (flux_jobtap_get_flux (p),
"mf_priority: conf.update: flux_plugin_arg_unpack: %s",
flux_plugin_arg_strerror (args));
return -1;
}

// assign unpacked weights into priority_weights map
Expand Down

0 comments on commit a6bd897

Please sign in to comment.