feat(replicas): new replicas pkg for redundancy by dispersed replicas #16295
Annotations
13 errors
Lint:
pkg/replicas/getter_test.go#L139
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint:
pkg/replicas/export_test.go#L11
File is not `gofmt`-ed with `-s` (gofmt)
|
Lint:
pkg/replicas/putter_test.go#L54
func `newTestBasePutter` is unused (unused)
|
Lint:
pkg/replicas/getter.go#L34
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Lint:
pkg/replicas/getter_test.go#L107
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Lint:
pkg/replicas/getter_test.go#L93
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
Lint:
pkg/replicas/replica_test.go#L54
error is not nil (line 52) but it returns nil (nilerr)
|
Lint:
pkg/replicas/putter_test.go#L84
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Lint:
pkg/replicas/putter_test.go#L173
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
Lint
issues found
|
Test (ubuntu-latest)
Process completed with exit code 2.
|
Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
Test (macos-latest)
The operation was canceled.
|