Skip to content

Fix go version define at linters #496

Fix go version define at linters

Fix go version define at linters #496

Triggered via push January 3, 2025 15:51
Status Failure
Total duration 1m 0s
Artifacts

ci.yaml

on: push
Matrix: Build and test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Lint
undefined: validator (typecheck)
Lint: config/config.go#L102
undefined: validator (typecheck)
Lint: store/cluster_node.go#L53
undefined: validator (typecheck)
Lint: store/engine/raft/logger.go#L28
cannot use &Logger{} (value of type *Logger) as "go.etcd.io/etcd/raft/v3".Logger value in variable declaration: *Logger does not implement "go.etcd.io/etcd/raft/v3".Logger (missing method Debug) (typecheck)
Lint: store/engine/raft/node.go#L156
cannot use Logger{…} (value of type Logger) as "go.etcd.io/etcd/raft/v3".Logger value in struct literal: Logger does not implement "go.etcd.io/etcd/raft/v3".Logger (missing method Debug) (typecheck)
Lint
Process completed with exit code 2.
Lint
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/kvrocks-controller/kvrocks-controller. Supported file pattern: go.sum