Skip to content

refactory of birdwatch #392

refactory of birdwatch

refactory of birdwatch #392

Triggered via pull request October 18, 2023 23:59
Status Failure
Total duration 2m 46s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
lint
issues found
lint: states/kv/main_test.go#L71
var-naming: don't use underscores in Go names; func parameter use_remote should be useRemote (revive)
lint: states/kv/txn_tikv_test.go#L262
var-naming: don't use underscores in Go names; var scan_size should be scanSize (revive)
lint: states/kv/kv.go#L368
var-naming: don't use underscores in Go names; var str_val should be strVal (revive)
lint: states/kv/kv.go#L390
var-naming: don't use underscores in Go names; var byte_value should be byteValue (revive)
lint: states/kv/kv.go#L300
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: states/kv/kv.go#L18
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
lint: states/etcd/common/collection.go#L141
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: states/etcd/show/legacy_qc_task.go#L51
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: states/etcd/show/legacy_qc_task.go#L77
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
lint: states/etcd_connect.go#L54
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)