From 354626f99b2d0d15d90a05fbe8a3e94c550fa41f Mon Sep 17 00:00:00 2001 From: zhanluxianshen Date: Sat, 31 May 2025 07:56:00 +0800 Subject: [PATCH] nacos config init , and force add ts parms. Signed-off-by: zhanluxianshen --- api/configs/remote_settings_sources/nacos/http_request.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/configs/remote_settings_sources/nacos/http_request.py b/api/configs/remote_settings_sources/nacos/http_request.py index 2785bd955b..9b3359c6ad 100644 --- a/api/configs/remote_settings_sources/nacos/http_request.py +++ b/api/configs/remote_settings_sources/nacos/http_request.py @@ -60,8 +60,7 @@ class NacosHttpClient: sign_str = tenant + "+" if group: sign_str = sign_str + group + "+" - if sign_str: - sign_str += ts + sign_str += ts # Directly concatenate ts without conditional checks, because the nacos auth header forced it. return sign_str def get_access_token(self, force_refresh=False):