We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2591f85 commit e127d53Copy full SHA for e127d53
kong/clustering.lua
@@ -712,15 +712,21 @@ end
712
function _M.init(conf)
713
assert(conf, "conf can not be nil", 2)
714
715
- if conf.role == "data_plane" or conf.role == "control_plane" then
716
- assert(init_mtls(conf))
+ if conf.role ~= "data_plane" and conf.role ~= "control_plane" then
+ return
717
end
718
+
719
+ assert(init_mtls(conf))
720
721
722
723
function _M.init_worker(conf)
724
725
726
727
728
+ end
729
730
PLUGINS_LIST = assert(kong.db.plugins:get_handlers())
731
table.sort(PLUGINS_LIST, function(a, b)
732
return a.name:lower() < b.name:lower()
0 commit comments