nacos config init , and force add ts parms.

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
pull/20526/head
zhanluxianshen 12 months ago
parent e01d975b80
commit 354626f99b
No known key found for this signature in database
GPG Key ID: 0D2A455788E77ABC

@ -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…
Cancel
Save