mirror of
https://github.com/emqx/neuron.git
synced 2026-10-21 16:55:53 +08:00
Fix persistence data file structure according to nep
This commit is contained in:
@@ -549,6 +549,11 @@ static inline int persister_adapter_dir(char *buf, size_t size,
|
||||
return n;
|
||||
}
|
||||
|
||||
n = path_cat(buf, n, size, "adapters");
|
||||
if (size == n) {
|
||||
return n;
|
||||
}
|
||||
|
||||
n = path_cat_escaped(buf, n, size, adapter_name);
|
||||
return n;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user