Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023.0.3.2版本地址、用户名、密码等配置信息如果配置的是变量,动态刷新时都无法正常获取值 #3935

Open
chenmuhu opened this issue Jan 9, 2025 · 0 comments

Comments

@chenmuhu
Copy link

chenmuhu commented Jan 9, 2025

2023.0.3.2版本地址、用户名、密码等配置信息如果配置的是变量,动态刷新时都无法正常获取值,配置样例如下,动态刷新时拿到的值是${di.nacos.server-addr}、${di.nacos.group}字符串,导致刷新报错,即修改nacos配置时就动态刷新报错

spring.cloud.nacos.server-addr=${di.nacos.server-addr}
spring.cloud.nacos.username=${di.nacos.username}
spring.cloud.nacos.password=${di.nacos.password}
spring.cloud.nacos.config.group=${di.nacos.group}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant