From b33f8b47ca0e6c0abc1aa34ddfca3d7042f8c9b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=9B=E9=9C=B2=E5=85=88=E7=94=9F?= Date: Sun, 1 Jun 2025 10:17:40 +0800 Subject: [PATCH] nacos config init , and force add ts parms. (#20526) 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 2785bd955..9b3359c6a 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):