From 833d7bffdac93db9898493a8e27e318410028a6e Mon Sep 17 00:00:00 2001 From: Joshua Schmid Date: Thu, 19 Oct 2023 12:08:16 +0200 Subject: [PATCH] fix(core): comparison against boolean Signed-off-by: Joshua Schmid --- kong/clustering/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/utils.lua b/kong/clustering/utils.lua index f463c83755c..891aa974c69 100644 --- a/kong/clustering/utils.lua +++ b/kong/clustering/utils.lua @@ -157,7 +157,7 @@ end function _M.is_dp_worker_process() - if kong.configuration.dedicated_config_processing then + if kong.configuration.dedicated_config_processing == true then return process_type() == "privileged agent" end