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

[WIP] Optimize listen config #89

Merged
merged 12 commits into from
Jul 24, 2020

Conversation

binbin0325
Copy link
Member

@binbin0325 binbin0325 commented Jul 16, 2020

1:Optimize listen config.
2:Support to create folders under Windows.
3: getConfigInner func len(param.DataId) <= 0 return.
fix: #77

@binbin0325 binbin0325 marked this pull request as ready for review July 18, 2020 02:16
func (client *ConfigClient) CancelListenConfig(param vo.ConfigParam) (err error) {
clientConfig, err := client.GetClientConfig()
if err != nil {
log.Fatalf("[checkConfigInfo.GetClientConfig] failed.")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to errorf

}
currentTaskCount = taskCount
} else if taskCount < currentTaskCount {
for i := currentTaskCount - taskCount; i < currentTaskCount; i++ {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's sure be: for i := currentTaskCount - 1; i >= taskCount; i--

@lzp0412 lzp0412 merged commit 56869ac into nacos-group:develop Jul 24, 2020
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

Successfully merging this pull request may close these issues.

2 participants