-
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
fix: fix golint warning #2821
fix: fix golint warning #2821
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2821 +/- ##
==========================================
+ Coverage 69.35% 69.37% +0.01%
==========================================
Files 278 278
Lines 17448 17444 -4
==========================================
Hits 12101 12101
+ Misses 3995 3993 -2
+ Partials 1352 1350 -2
|
We found this is your first time to contribute to Pouch, @KevinBetterQ |
@KevinBetterQ please |
Signed-off-by: KevinBetterQ <1093850932@qq.com> Author: KevinBetterQ 1093850932@qq.com> Date: Tue Apr 30 19:09:32 2019 +0800 Signed-off-by: KevinBetterQ <1093850932@qq.com>
323c4b2
to
e65bedf
Compare
Thanks for your work. LGTM |
Ⅰ. Describe what this PR did
fix golint warning:
Line 183: warning: redundant if ...; err != nil check, just return error instead. (golint)
Line 320: warning: redundant if ...; err != nil check, just return error instead. (golint)
Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews