improve api server support

This commit is contained in:
Rongsong Shen 2026-01-23 17:33:10 +08:00
parent 3b728e5135
commit 9e07a1b227
7 changed files with 141 additions and 44 deletions

View file

@ -542,6 +542,8 @@ int cluster_init(cluster_t* c)
delaymgr_init(&(c->delaymgr), 2, run_delay_tasks);
apiserver_init(c);
xce_run_hooks(&(c->hooksys), XCE_CONTROLLER_HOOK_CLUSTER, HOOK_AFTER_EVENT,
HOOK_DETAIL_CLUSTER_INIT, c);