feat(replicas): new replicas pkg for redundancy by dispersed replicas #16241
Annotations
15 errors
Lint:
pkg/replicas/replicas.go#L159
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint:
pkg/replicas/putter_test.go#L86
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint:
pkg/replicas/putter_test.go#L172
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Lint:
pkg/replicas/replicas.go#L42
don't use `init` function (gochecknoinits)
|
Lint:
pkg/replicas/getter_test.go#L7
File is not `gofmt`-ed with `-s` (gofmt)
|
Lint:
pkg/replicas/putter_test.go#L48
func `newTestBasePutter` is unused (unused)
|
Lint:
pkg/replicas/replica_test.go#L48
error is not nil (line 46) but it returns nil (nilerr)
|
Lint:
pkg/replicas/putter_test.go#L78
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#L164
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.
|