golint fixes for daemon/logger/*#14843
Conversation
daemon/logger/fluentd/fluentd.go
Outdated
There was a problem hiding this comment.
There is a /* too much 😛 here.
b6766fb to
a4c1c0d
Compare
|
comments fixed, and rebased |
|
@MHBauer sorry this needs another rebase :( |
3057f6a to
35e6944
Compare
|
It would be so good, if I stopped messing up rebases. |
|
is there something I need to do here? Or just wait and trigger the build again? |
a4ae777 to
1757d17
Compare
daemon/logger/factory.go
Outdated
There was a problem hiding this comment.
Not sure if there's a rule in the docker source code but I think it would be better to have this comment on multiple lines (with a max of ~80 char per line). but that is a tiny tiny nit 😊
There was a problem hiding this comment.
my bad, forgot to hit format.
3981db6 to
645bd4b
Compare
|
@MHBauer few things you can do :
|
1baceb4 to
d15dee5
Compare
daemon/logger/journald/journald.go
Outdated
There was a problem hiding this comment.
recieve -> receive
There was a problem hiding this comment.
well, this is embarrassing, so I've now figured out how to enable spell checking. Thanks
|
LGTM pending vdemeester's comments and one minor nit. |
399e5e4 to
51ce7d8
Compare
|
rebased with everything addressed. |
daemon/logger/factory.go
Outdated
There was a problem hiding this comment.
I think it'll be more consistent with stdlib documentation to write just Creator builds..., and below too. Also it isn't method at all :)
There was a problem hiding this comment.
it's the java leaving my body.
51ce7d8 to
c10f21f
Compare
|
needs rebase |
- downcase and privatize exported variables that were unused - make accurate an error message - added package comments - remove unused var ReadLogsNotSupported - enable linter - some spelling corrections Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
c10f21f to
ccbe539
Compare
|
rebased |
|
Thanks. |
|
LGTM |
golint fixes for daemon/logger/*
golint advice changes
case statement resorted by alphabetical
package comments based on my understanding as a n00b
for #14756