Skip to content
Snippets Groups Projects
Commit 9763b48c authored by Morris Jette's avatar Morris Jette
Browse files

Fix slurmctld plugstack type

parent d1d6afbb
No related branches found
No related tags found
No related merge requests found
...@@ -121,9 +121,9 @@ extern int slurmctld_plugstack_init(void) ...@@ -121,9 +121,9 @@ extern int slurmctld_plugstack_init(void)
(g_context_cnt + 1))); (g_context_cnt + 1)));
xrealloc(g_context, xrealloc(g_context,
(sizeof(plugin_context_t *) * (g_context_cnt + 1))); (sizeof(plugin_context_t *) * (g_context_cnt + 1)));
if (strncmp(type, "slurmctld_plugstack/", 20) == 0) if (strncmp(type, "slurmctld/", 10) == 0)
type += 20; /* backward compatibility */ type += 10; /* backward compatibility */
type = xstrdup_printf("slurmctld_plugstack/%s", type); type = xstrdup_printf("slurmctld/%s", type);
g_context[g_context_cnt] = plugin_context_create( g_context[g_context_cnt] = plugin_context_create(
plugin_type, type, (void **)&ops[g_context_cnt], plugin_type, type, (void **)&ops[g_context_cnt],
syms, sizeof(syms)); syms, sizeof(syms));
......
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