nic-chen commented on a change in pull request #4661:
URL: https://github.com/apache/apisix/pull/4661#discussion_r676262544
##########
File path: apisix/core/etcd.lua
##########
@@ -311,6 +311,9 @@ function _M.push(key, value, ttl)
local index = res.body.header.revision
index = string.format("%020d", index)
+ -- set the basic id attribute
+ value.id = index
Review comment:
There is a problem, the consumer does not have an id. Adding an id
directly here will cause the consumer data to become unusable.
@spacewander @okaybase
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]