-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 revive lints redefines-builtin-id
#7552
.*: fix revive lints redefines-builtin-id
#7552
Conversation
…-error-flow, var-declaration
Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else
…low, increment-decrement, superfluous-else"
Revert "Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else"
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7552 +/- ##
==========================================
+ Coverage 81.75% 81.87% +0.12%
==========================================
Files 361 361
Lines 27813 27813
==========================================
+ Hits 22739 22773 +34
+ Misses 3870 3845 -25
+ Partials 1204 1195 -9
|
…to linter-emtyblk-builtin-id
…to linter-emtyblk-builtin-id
…to linter-emtyblk-builtin-id
@janardhanvissa make sure to keep the comments upto line col 80 |
@purnesh42H Updated the comments as suggested and pushed the changes. Please re-review it. |
…hanvissa/grpc-go into linter-emtyblk-builtin-id
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.
lgtm. Please fix the grammer as suggested in 2 new comments
redefines-builtin-id
, empty-block
@@ -506,6 +506,7 @@ func (ccw *stateRecordingCCWrapper) NewSubConn(addrs []resolver.Address, opts ba | |||
func keepReading(conn net.Conn) { | |||
buf := make([]byte, 1024) | |||
for _, err := conn.Read(buf); err == nil; _, err = conn.Read(buf) { | |||
|
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.
@janardhanvissa revert this empty line please
…to linter-emtyblk-builtin-id
…hanvissa/grpc-go into linter-emtyblk-builtin-id
@purnesh42H Updated close to closeFn as mentioned above. Please re-review the changes. |
We should have probably rebased and removed this TODO. |
Addresses: #7444
RELEASE NOTES: None