chore: fix golang ci lint error #4778
Annotations
8 errors
ubuntu - Go v1.17
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
ubuntu - Go v1.17
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
ubuntu - Go v1.17
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
ubuntu - Go v1.17
var-declaration: should drop = 0 from declaration of var readyCount; it is the zero value (revive)
|
ubuntu - Go v1.17
var-declaration: should drop = 0 from declaration of var notReadyCount; it is the zero value (revive)
|
ubuntu - Go v1.17
var-declaration: should drop = 0 from declaration of var runningCount; it is the zero value (revive)
|
ubuntu - Go v1.17
var-declaration: should drop = 0 from declaration of var notRunningCount; it is the zero value (revive)
|
ubuntu - Go v1.17
Process completed with exit code 1.
|