save works

This commit is contained in:
Rongsong Shen 2026-03-03 16:49:26 +08:00
parent f4b1ba4cd7
commit acfbec875b
51 changed files with 622 additions and 1175 deletions

View file

@ -4,10 +4,9 @@
#include <string.h>
#include <tlog.h>
#include "configobj.h"
#include "controller.capnp.h"
#include "myconf.h"
#include "configobj.h"
#include "objmgr.h"
#include "utils.h"
#include "xce/cluster_def.h"
#include "xce/types.h"
@ -18,7 +17,7 @@ int add_config(void* c, char* name, char* value)
xce_config_t cvar = { .name = name, .value = value };
xce_config_t* cv = NULL;
cv = makeConfig(&cvar);
cv = makeConfig(cls->configmgr, &cvar);
if (cv == NULL) {
return -errno;
}