Skip to content

Add remove leaked collection meta cmd #421

Add remove leaked collection meta cmd

Add remove leaked collection meta cmd #421

Triggered via pull request November 30, 2023 07:59
Status Failure
Total duration 4m 41s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
lint: states/etcd/remove/collection_clean.go#L6
File is not `goimports`-ed (goimports)
lint: states/etcd/remove/collection_clean.go#L109
S1008: should use 'return strings.HasPrefix(key, segmentStatsPrefix)' instead of 'if strings.HasPrefix(key, segmentStatsPrefix) { return true }; return false' (gosimple)
lint: states/etcd/remove/collection_clean.go#L121
S1023: redundant `return` statement (gosimple)
lint
issues found