You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/09 02:16:17 UTC
[GitHub] [apisix] billnote commented on a change in pull request #4561: fix: metrics api etcd key not found warning
billnote commented on a change in pull request #4561:
URL: https://github.com/apache/apisix/pull/4561#discussion_r666626119
##########
File path: apisix/core/config_etcd.lua
##########
@@ -71,6 +71,11 @@ local function getkey(etcd_cli, key)
return nil, "not inited"
end
+ local local_conf, _ = config_local.local_conf()
+ if local_conf and local_conf.etcd and local_conf.etcd.prefix then
+ key = local_conf.etcd.prefix .. key
+ end
Review comment:
ok
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org