Skip to content

fix(compact): fix conflict between compaction and retrying #46

fix(compact): fix conflict between compaction and retrying

fix(compact): fix conflict between compaction and retrying #46

Triggered via pull request November 14, 2023 12:27
Status Failure
Total duration 1m 25s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Lint: pkg/backend/common/common.go#L17
import 'github.com/kubewharf/kubebrain-client/api/v2rpc' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/creator/naive.go#L21
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/creator/naive.go#L23
import 'github.com/kubewharf/kubebrain/pkg/backend/coder' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/creator/naive.go#L24
import 'github.com/kubewharf/kubebrain/pkg/storage' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L23
import 'github.com/pkg/errors' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L24
import 'k8s.io/apimachinery/pkg/api/errors' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L25
import 'k8s.io/apimachinery/pkg/runtime/schema' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L26
import 'k8s.io/client-go/tools/leaderelection/resourcelock' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L27
import 'k8s.io/klog/v2' is not allowed from list 'Main' (depguard)
Lint: pkg/backend/election/election.go#L29
import 'github.com/kubewharf/kubebrain/pkg/storage' is not allowed from list 'Main' (depguard)
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
Unexpected input(s) 'file', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']
Lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
Unexpected input(s) 'file', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache']