Skip to content

refactor: follower controller #580

refactor: follower controller

refactor: follower controller #580

Triggered via pull request July 13, 2023 09:10
Status Failure
Total duration 3m 58s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 1 warning
typos
Process completed with exit code 2.
test (1.19): pkg/controllers/util/overrides.go#L32
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.19): pkg/controllers/automigration/controller.go#L44
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/util/delayingdeliver; to add it:
test (1.19): pkg/controllers/monitor/monitor_controller.go#L39
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/federatedtypeconfig; to add it:
test (1.19)
Process completed with exit code 2.
test (1.20): pkg/controllers/util/overrides.go#L32
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.20): pkg/controllers/automigration/controller.go#L44
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/util/delayingdeliver; to add it:
test (1.20): pkg/controllers/monitor/monitor_controller.go#L39
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/federatedtypeconfig; to add it:
test (1.20)
Process completed with exit code 2.
lint: pkg/controllers/follower/controller.go#L158
cannot use (func(key SourceGroupKindKey) worker.Result literal) (value of type func(key SourceGroupKindKey) worker.Result) as worker.ReconcileFunc[SourceGroupKindKey] value in argument to worker.NewReconcileWorker[SourceGroupKindKey] (typecheck)
lint: pkg/controllers/follower/controller.go#L213
cannot use stopChan (variable of type <-chan struct{}) as context.Context value in argument to c.worker.Run: <-chan struct{} does not implement context.Context (missing method Deadline) (typecheck)
lint: pkg/controllers/follower/controller.go#L158
cannot use (func(key SourceGroupKindKey) worker.Result literal) (value of type func(key SourceGroupKindKey) worker.Result) as worker.ReconcileFunc[SourceGroupKindKey] value in argument to worker.NewReconcileWorker[SourceGroupKindKey] (typecheck)
lint: pkg/controllers/follower/controller.go#L213
cannot use stopChan (variable of type <-chan struct{}) as context.Context value in argument to c.worker.Run: <-chan struct{} does not implement context.Context (missing method Deadline) (typecheck)
lint: pkg/controllers/follower/controller.go#L158
cannot use (func(key SourceGroupKindKey) worker.Result literal) (value of type func(key SourceGroupKindKey) worker.Result) as worker.ReconcileFunc[SourceGroupKindKey] value in argument to worker.NewReconcileWorker[SourceGroupKindKey] (typecheck)
lint: pkg/controllers/follower/controller.go#L213
cannot use stopChan (variable of type <-chan struct{}) as context.Context value in argument to c.worker.Run: <-chan struct{} does not implement context.Context (missing method Deadline) (typecheck)
lint: pkg/controllers/follower/controller.go#L158
cannot use (func(key SourceGroupKindKey) worker.Result literal) (value of type func(key SourceGroupKindKey) worker.Result) as worker.ReconcileFunc[SourceGroupKindKey] value in argument to worker.NewReconcileWorker[SourceGroupKindKey] (typecheck)
lint: pkg/controllers/follower/controller.go#L213
cannot use stopChan (variable of type <-chan struct{}) as context.Context value in argument to c.worker.Run: <-chan struct{} does not implement context.Context (missing method Deadline) (typecheck)
lint: pkg/controllers/follower/controller.go#L158
cannot use (func(key SourceGroupKindKey) worker.Result literal) (value of type func(key SourceGroupKindKey) worker.Result) as worker.ReconcileFunc[SourceGroupKindKey] value in argument to worker.NewReconcileWorker[SourceGroupKindKey] (typecheck)
lint: pkg/controllers/follower/controller.go#L213
cannot use stopChan (variable of type <-chan struct{}) as context.Context value in argument to c.worker.Run: <-chan struct{} does not implement context.Context (missing method Deadline) (typecheck)
typos: docs/quickstart.md#L6
"propgating" should be "propagating".