Skip to content

chore: fix golang ci lint error #4778

chore: fix golang ci lint error

chore: fix golang ci lint error #4778

Triggered via pull request October 25, 2023 08:15
Status Failure
Total duration 4m 32s
Artifacts

go.yml

on: pull_request
ubuntu - Go v1.17
4m 20s
ubuntu - Go v1.17
Fit to window
Zoom out
Zoom in

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.