From 94defd993db96a80538cb867d67f8244dda03a66 Mon Sep 17 00:00:00 2001 From: Xumin <100666470+StarlightIbuki@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:43:16 +0800 Subject: [PATCH] Apply suggestions from code review --- kong/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kong/init.lua b/kong/init.lua index e8d9a0964cd7..53eb47406502 100644 --- a/kong/init.lua +++ b/kong/init.lua @@ -893,9 +893,7 @@ function Kong.init_worker() end if kong.configuration.role == "control_plane" then - if kong.clustering then - kong.clustering:init_worker() - end + kong.clustering:init_worker() end kong.vault.init_worker()