feat(replicas): new replicas pkg for redundancy by dispersed replicas #16307
Annotations
10 errors
Lint:
pkg/replicas/replica_test.go#L21
File is not `gofmt`-ed with `-s` (gofmt)
|
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#L89
S1012: should use `time.Since` instead of `time.Now().Sub` (gosimple)
|
Lint:
pkg/replicas/putter_test.go#L167
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 (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
Test (windows-latest)
The operation was canceled.
|
Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
Test (macos-latest)
The operation was canceled.
|