From 919c2d5e3fdd5d22aa989ff2486fb3305cf5e11e Mon Sep 17 00:00:00 2001 From: chronolaw Date: Mon, 13 Jan 2025 08:35:25 +0800 Subject: [PATCH] lint fix --- kong/clustering/services/sync/strategies/postgres.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/clustering/services/sync/strategies/postgres.lua b/kong/clustering/services/sync/strategies/postgres.lua index fe5a19718af..fc4738ed8cb 100644 --- a/kong/clustering/services/sync/strategies/postgres.lua +++ b/kong/clustering/services/sync/strategies/postgres.lua @@ -59,7 +59,7 @@ end function _M:is_valid_version(str) - return sub(v, 1, 4) == VER_PREFIX + return sub(str, 1, 4) == VER_PREFIX end