This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new b5ea128fe chore: code style(multi-auth) (#11508)
b5ea128fe is described below
commit b5ea128fe37dbe1fa8de5b46e3c06468804f2a3c
Author: 徐瑞东 <[email protected]>
AuthorDate: Fri Sep 13 09:39:15 2024 +0800
chore: code style(multi-auth) (#11508)
---
apisix/plugins/multi-auth.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apisix/plugins/multi-auth.lua b/apisix/plugins/multi-auth.lua
index 755846fe1..855734474 100644
--- a/apisix/plugins/multi-auth.lua
+++ b/apisix/plugins/multi-auth.lua
@@ -50,7 +50,7 @@ function _M.check_schema(conf)
local auth = require("apisix.plugins." .. auth_plugin_name)
if auth == nil then
return false, auth_plugin_name .. " plugin did not found"
- else
+ else
if auth.type ~= 'auth' then
return false, auth_plugin_name .. " plugin is not
supported"
end