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

PlatformPublishAdapter #90

Open
kevinchenreal opened this issue Apr 11, 2023 · 0 comments
Open

PlatformPublishAdapter #90

kevinchenreal opened this issue Apr 11, 2023 · 0 comments

Comments

@kevinchenreal
Copy link

kevinchenreal commented Apr 11, 2023

当在platform变更gateway网关配置时,通过PlatformPublishAdapter的publish方法将配置发布到nacos中,但是下面代码可能有点问题
if (item.getPublishFlag()) {
continue;
}
这里判断的是如果是未发布状态,才会去发布。但是每次发布其实是全量覆盖,并不是增量。所以,会将已存在的配置给覆盖掉,不知道是不是因为这个问题。

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