Yiyiyimu commented on a change in pull request #3372:
URL: https://github.com/apache/apisix/pull/3372#discussion_r561659098



##########
File path: apisix/core/config_etcd.lua
##########
@@ -241,7 +241,11 @@ local function sync_data(self)
 
         else
             if not dir_res.nodes then
-                dir_res.nodes = {}
+                if dir_res.key then
+                    dir_res.nodes = { clone_tab(dir_res) }

Review comment:
       Could you explain it a bit? I didn't get why could it solve the problem




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to