-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Remove Log Assignment to Stdout #5048
Conversation
e1361cb
to
980b24f
Compare
850317b
to
10ab237
Compare
10ab237
to
b8464a7
Compare
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.
Feel free to ignore the nit!
@@ -27,7 +26,6 @@ type flags struct { | |||
|
|||
// NewCmdLocalize returns a new localize command. | |||
func NewCmdLocalize(fs filesys.FileSystem, writer io.Writer) *cobra.Command { |
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.
super nit: We can replace "writer" with underscore "_" since we no longer use this argument.
b8464a7
to
7c33fe3
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cailynse, KnVerey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fixes: #5039
The log output was changed to
writer
here, which is set to stdout here causing the log output to not be redirected with errors.Questions:
I don't fully understand why the change, and related test were there initially so I'm not confident my strategy of just removing them is the best option.