-
Notifications
You must be signed in to change notification settings - Fork 950
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
bugfix: issues with go vet #2551
bugfix: issues with go vet #2551
Conversation
Signed-off-by: Joseph Lee <joseph.t.lee@outlook.com>
Codecov Report
@@ Coverage Diff @@
## master #2551 +/- ##
==========================================
+ Coverage 69.16% 69.21% +0.04%
==========================================
Files 278 278
Lines 18552 18552
==========================================
+ Hits 12831 12840 +9
+ Misses 4246 4240 -6
+ Partials 1475 1472 -3
|
We found this is your first time to contribute to Pouch, @eahydra |
LGTM |
@@ -74,12 +74,12 @@ func followFile(f *os.File, cfg *logger.ReadConfig, unmarshaler newUnmarshalFunc | |||
// ideally, it's caused by removing the container. | |||
return errDone | |||
default: | |||
logrus.Debug("unexpected file change during watching file %v: %v", f.Name(), e.Op) | |||
logrus.Debugf("unexpected file change during watching file %v: %v", f.Name(), e.Op) |
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.
Good catch
Signed-off-by: Joseph Lee joseph.t.lee@outlook.com
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?
fix #964
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews