From 20d99dab6f4eb0de77934593167b5975eb7c7836 Mon Sep 17 00:00:00 2001 From: Demogorgon314 Date: Thu, 27 May 2021 09:58:40 +0800 Subject: [PATCH] fix: code style --- apisix/discovery/nacos.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apisix/discovery/nacos.lua b/apisix/discovery/nacos.lua index dc56556c02c3f..914523ccbc706 100644 --- a/apisix/discovery/nacos.lua +++ b/apisix/discovery/nacos.lua @@ -267,8 +267,8 @@ local function fetch_full_registry(premature) local data, err for _, service_info in ipairs(infos) do local namespace_param = get_namespace_param(service_info.nacos_namespace_id); - data, err = get_url(base_uri, instance_list_path .. service_info.service_name .. - token_param .. namespace_param) + data, err = get_url(base_uri, instance_list_path .. service_info.service_name + .. token_param .. namespace_param) if err then log.error('get_url:', instance_list_path, ' err:', err) if not applications then