-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
print the name of invalid host to help to fix the bug #46202
print the name of invalid host to help to fix the bug #46202
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Hi @lixiaobing10051267. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@lixiaobing10051267 you need to sign CLA - see #46202 (comment) |
@k8s-bot ok to test |
@k8s-bot ok to test |
/lgtm |
@k8s-bot pull-kubernetes-verify test this |
1 similar comment
@k8s-bot pull-kubernetes-verify test this |
@@ -31,7 +31,7 @@ func TestParseServerURIGood(t *testing.T) { | |||
|
|||
reference := "127.0.0.1:2379" | |||
if host != reference { | |||
t.Fatal("server uri was not parsed correctly") | |||
t.Fatal("server uri was not parsed correctly, host %s was invalid", host) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this doesn't pass lint.
You need to change to "Fatalf" now (instead of "Fatal").
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lixiaobing10051267, wojtek-t
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
print the name of invalid host to help to fix the bug.