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

Always push fed state after dbd update

The update could be from a controller registering which wouldn't have
the fed_name set yet.
parent 1c16ccfa
No related branches found
No related tags found
No related merge requests found
...@@ -607,8 +607,10 @@ extern List as_mysql_modify_clusters(mysql_conn_t *mysql_conn, uint32_t uid, ...@@ -607,8 +607,10 @@ extern List as_mysql_modify_clusters(mysql_conn_t *mysql_conn, uint32_t uid,
xfree(vals); xfree(vals);
xfree(query); xfree(query);
return ret_list; return ret_list;
} else if (cluster->fed.name) }
as_mysql_add_feds_to_update_list(mysql_conn);
/* push out changes since the cluster could have just registered */
as_mysql_add_feds_to_update_list(mysql_conn);
xfree(query); xfree(query);
end_it: end_it:
......
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