nic-6443 commented on code in PR #12040:
URL: https://github.com/apache/apisix/pull/12040#discussion_r2022498641
##########
apisix/admin/credentials.lua:
##########
@@ -18,9 +18,33 @@ local core = require("apisix.core")
local plugins = require("apisix.admin.plugins")
local plugin = require("apisix.plugin")
local resource = require("apisix.admin.resource")
+local consumer = require("apisix.consumer")
+local utils = require("apisix.admin.utils")
local pairs = pairs
-local function check_conf(_id, conf, _need_id, schema)
+local function check_duplicate_key(id, name, plugin_conf)
+ local decrypted_conf = core.table.deepcopy(plugin_conf)
+ plugin.decrypt_conf(name, decrypted_conf, core.schema.TYPE_CONSUMER)
Review Comment:
ditto
--
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]