瀏覽代碼

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

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
tags/1.4.2
湛露先生 5 月之前
父節點
當前提交
b33f8b47ca
沒有連結到貢獻者的電子郵件帳戶。
共有 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 查看文件

sign_str = tenant + "+" sign_str = tenant + "+"
if group: if group:
sign_str = sign_str + 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 return sign_str


def get_access_token(self, force_refresh=False): def get_access_token(self, force_refresh=False):

Loading…
取消
儲存