修复注册中心为zookeeper,管理控制台删除路由失败的问题#13
Merged
liangfei0201 merged 2 commits intoapache:masterfrom Jan 2, 2014
bohrqiu:master
Merged
修复注册中心为zookeeper,管理控制台删除路由失败的问题#13liangfei0201 merged 2 commits intoapache:masterfrom bohrqiu:master
liangfei0201 merged 2 commits intoapache:masterfrom
bohrqiu:master
Conversation
这个问题是因为,在启用路由规则时,去掉了enabled参数。在删除路由规则时Route.toUrl方法会始终加上enabled参数,这样导致删除时zookeeper 中path不存在,删除失败。
liangfei0201
added a commit
that referenced
this pull request
Jan 2, 2014
修复注册中心为zookeeper,管理控制台删除路由失败的问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个问题是因为,在启用路由规则时,去掉了enabled参数。在删除路由规则时Route.toUrl方法会始终加上enabled参数,这样导致删除时zookeeper
中path不存在,删除失败。