From 76a094b4632e099f78866051d1c012f15346b951 Mon Sep 17 00:00:00 2001 From: Arjen10 Date: Fri, 21 Aug 2026 20:29:50 +0800 Subject: [PATCH] fix(config_etcd): fixed string formatting by using tostring() instead of string() --- apisix/core/config_etcd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix/core/config_etcd.lua b/apisix/core/config_etcd.lua index e59dc6b32d71..169bf1e4dc63 100644 --- a/apisix/core/config_etcd.lua +++ b/apisix/core/config_etcd.lua @@ -141,7 +141,7 @@ local function do_run_watch(premature) watch_ctx.cli, err = get_etcd() if not watch_ctx.cli then - error("failed to create etcd instance: " .. string(err)) + error("failed to create etcd instance: " .. tostring(err)) end local rev = 0