mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-02 11:57:44 +08:00
fix bug about 'config reload user' when remote db is not exist
This commit is contained in:
parent
8b90ecd786
commit
19e66b929a
@ -668,7 +668,7 @@ chassis_config_update_object_cache(chassis_config_t *conf, const char *name)
|
||||
return;
|
||||
time_t now = time(0);
|
||||
chassis_config_object_set_cache(object, NULL, now);
|
||||
char *str;
|
||||
char *str = NULL;
|
||||
chassis_config_query_object(conf, name, &str);
|
||||
if (str) { /* we just want to trigger query&caching, result is not needed */
|
||||
g_free(str);
|
||||
|
Loading…
Reference in New Issue
Block a user