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

nacos2.2.0版本 无法获取namespace 为public的配置 #10214

Closed
liukefu2050 opened this issue Mar 29, 2023 · 1 comment
Closed

nacos2.2.0版本 无法获取namespace 为public的配置 #10214

liukefu2050 opened this issue Mar 29, 2023 · 1 comment
Labels
status/duplicate This issue or pull request already exists

Comments

@liukefu2050
Copy link

Describe the bug
使用的版本信息:

<spring-boot.version>3.0.4</spring-boot.version>

<spring-cloud.version>2022.0.1</spring-cloud.version>

<spring-framework.version>6.0.6</spring-framework.version>

<spring-cloud-alibaba.version>2022.0.0.0-RC1</spring-cloud-alibaba.version>
nacos-client 版本:nacos-client-2.2.1-RC
nacos-server 版本:nacos2.2.0
NacosConfigService.java 中断点调试方法:private String getConfigInner(String tenant, String dataId, String group, long timeoutMs) throws NacosException
第184行:ConfigResponse response = worker.getServerConfig(dataId, group, tenant, timeoutMs, false);
其中tenant 传参分别为“” 时 能获取配置信息,然而tenant传参public时却返回空。

Expected behavior
nacos namespace传public 和 "" 应该返回一致结果

Actually behavior
其中tenant 传参分别为“” 时 能获取配置信息,然而tenant传参public时却返回空。

How to Reproduce
QQ图片20230329102015

Additional context

@KomachiSion
Copy link
Collaborator

duplicate with #9846

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2023
@KomachiSion KomachiSion added the status/duplicate This issue or pull request already exists label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants