-
Notifications
You must be signed in to change notification settings - Fork 223
Fix mDNS package logging #849
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
Conversation
|
changes look good to me. @mangelajo nit: since this is about log change, do you think it is worth adding some debug level log that can be enabled for development testing? one example is I had to add debug all the way down to the server.go |
|
I'm good with that but let's do it in a separate PR. This is about fixing the bug which has been around for a shameful amount of time I don't want to recognize at this time %). |
|
@ggiguash @zshi-redhat does it look ok to lgtm ? I will be PTO after today. |
pkg/mdns/controller.go
Outdated
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.
Should we capitalize the first word (Starting) to make is consistent with other messages?
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.
Done.
pkg/mdns/controller.go
Outdated
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.
ips -> IP addresses
or
IPs
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.
Done.
pkg/mdns/routes.go
Outdated
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.
It's an error, so should we say something like the following?
Failed waiting for...
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.
Done.
pkg/mdns/routes.go
Outdated
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.
semicolon missing? "found: %s"
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.
Done.
pkg/mdns/routes.go
Outdated
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.
We may want to be consistent about mDNS messages prefix: "mDNS: ..." or "mDNS ..."
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.
Done.
|
Good feedback @ggiguash let me handle it :) |
The logging parameters were set for structured logging (InfoS) in some cases, while Infof is being used (same for Errorf). Closes: https://issues.redhat.com/browse/USHIFT-263
|
@ggiguash done :) |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash, mangelajo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
@mangelajo: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
The logging parameters were set for structured logging (InfoS) in
some cases, while Infof is being used (same for Errorf).
Closes: https://issues.redhat.com/browse/USHIFT-263
Which issue(s) this PR addresses:
Closes #