소스 검색

nacos config init , and force add ts parms. (#20526)

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
tags/1.4.2
湛露先生 5 달 전
부모
커밋
b33f8b47ca
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      api/configs/remote_settings_sources/nacos/http_request.py

+ 1
- 2
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):

Loading…
취소
저장