[GitHub] [apisix] tokers commented on a change in pull request #2036: feature: support etcd v3, by mocking v2 API

2020-09-15 Thread GitBox
tokers commented on a change in pull request #2036: URL: https://github.com/apache/apisix/pull/2036#discussion_r489129014 ## File path: bin/apisix ## @@ -879,35 +887,35 @@ local function init_etcd(show_output) local host_count = #(yaml_conf.etcd.host) --- check whe

[GitHub] [apisix] tokers commented on a change in pull request #2036: feature: support etcd v3, by mocking v2 API

2020-09-14 Thread GitBox
tokers commented on a change in pull request #2036: URL: https://github.com/apache/apisix/pull/2036#discussion_r487852649 ## File path: apisix/core/etcd.lua ## @@ -44,24 +49,144 @@ end _M.new = new +local function kvs_to_node(kvs) +local node = {} +node.key = kvs.k