Skip to content
Snippets Groups Projects
Commit 60eac986 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

Fix updating node features with no feature plugin

When not using a nodefeatureplugin the new feature string should just be
duplicated and returned.

Continuation of 6690685a
parent cf3069ef
No related branches found
No related tags found
No related merge requests found
......@@ -421,6 +421,10 @@ extern char *node_features_g_node_xlate2(char *new_features)
START_TIMER;
(void) node_features_g_init();
slurm_mutex_lock(&g_context_lock);
if (!g_context_cnt)
new_value = xstrdup(new_features);
for (i = 0; i < g_context_cnt; i++) {
if (new_value)
tmp_str = xstrdup(new_value);
......
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