maat_redis_tool支持通过命令行导入json格式的配置,注意不支持分组复用。

This commit is contained in:
zhengchao
2018-01-26 18:47:51 +08:00
parent b360726c32
commit c78be056c0
7 changed files with 245 additions and 40 deletions

View File

@@ -532,8 +532,10 @@ int Maat_set_feather_opt(Maat_feather_t feather,enum MAAT_INIT_OPT type,const vo
case MAAT_OPT_JSON_FILE_PATH:
ret=json2iris((const char*)value
,_feather->compile_tn,_feather->group_tn
,NULL
,_feather->full_dir
,sizeof(_feather->full_dir),_feather->logger);
,sizeof(_feather->full_dir)
,_feather->logger);
if(ret<0)
{
return -1;