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

[ISSUE #963] to support registering instance with host name #1079

Merged
merged 4 commits into from
Apr 23, 2019

Conversation

Albert-Hugo
Copy link
Contributor

What is the purpose of the change

To support registering instance with host name

Brief changelog

Only ip address contain ':' will be validated ip format.

@Albert-Hugo
Copy link
Contributor Author

@nkorange 这样改完ok了吗?

@nkorange
Copy link
Collaborator

@nkorange 这样改完ok了吗?

能不能在只包含数字和点的情况下,依然校验IP的有效性?然后在包含英文字母时才不校验,这样感觉好一点。

@nkorange
Copy link
Collaborator

@Albert-Hugo 看到你的修改了,很赞!如果再加上几个单元测试用例就完美了 😁

@Albert-Hugo
Copy link
Contributor Author

@Albert-Hugo 看到你的修改了,很赞!如果再加上几个单元测试用例就完美了 😁

单元测试在本地跑了,因为还不熟悉这里的测试案例模式,下次修复其他的问题的时候补上

@nkorange nkorange merged commit 1cfd8a5 into alibaba:develop Apr 23, 2019
@nkorange
Copy link
Collaborator

@Albert-Hugo 感谢!已经合并。

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