You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a linter to detect code that returns a non-relevant nilness error bug. I checked the top 1000 GitHub Go repositories and found this, all result listed in alingse/sundrylint#4
Logs
Click me to check logs
Copy logs to here.
The text was updated successfully, but these errors were encountered:
Environment
Issue description
code 1
https://github.com/apache/dubbo-go/blob/main/config/tls_config.go#L88
the err is nil in line 88, here should define an error to return
code 2
https://github.com/apache/dubbo-go/blob/main/protocol/triple/internal/client/common/client.go#L68
https://github.com/apache/dubbo-go/blob/main/protocol/triple/internal/client/common/client.go#L92
should return
sendErr
but return a nil valueerr
I create a linter to detect code that returns a non-relevant nilness error bug. I checked the top 1000 GitHub Go repositories and found this, all result listed in alingse/sundrylint#4
Logs
Click me to check logs
The text was updated successfully, but these errors were encountered: