Implement basic node.js binding (not published on npm yet)
This commit is contained in:
+1
-1
@@ -303,7 +303,7 @@ void kv_fs_state_t::init(nfs_proxy_t *proxy, json11::Json cfg)
|
||||
// Open DB and wait
|
||||
int open_res = 0;
|
||||
bool open_done = false;
|
||||
proxy->db = new kv_dbw_t(proxy->cli);
|
||||
proxy->db = new vitastorkv_dbw_t(proxy->cli);
|
||||
std::map<std::string, std::string> kv_cfg;
|
||||
for (auto & kv: cfg.object_items())
|
||||
{
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ public:
|
||||
epoll_manager_t *epmgr = NULL;
|
||||
cluster_client_t *cli = NULL;
|
||||
cli_tool_t *cmd = NULL;
|
||||
kv_dbw_t *db = NULL;
|
||||
vitastorkv_dbw_t *db = NULL;
|
||||
kv_fs_state_t *kvfs = NULL;
|
||||
block_fs_state_t *blockfs = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user