Skip to content

refactor: sync controller #645

refactor: sync controller

refactor: sync controller #645

Triggered via pull request July 20, 2023 11:24
Status Failure
Total duration 3m 29s
Artifacts

ci.yml

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

Annotations

31 errors and 1 warning
typos
Process completed with exit code 2.
lint: pkg/controllers/sync/controller.go#L48
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/controllers/sync/controller.go#L49
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/controllers/sync/controller.go#L53
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/controllers/sync/controller.go#L54
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/controllers/sync/controller.go#L56
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/kubewharf/kubeadmiral) --custom-order (gci)
lint: pkg/controllers/sync/dispatch/retain.go#L529
line is 145 characters (lll)
lint: pkg/util/overrides/overrides.go#L44
var `invalidPaths` is unused (unused)
lint: pkg/controllers/sync/controller.go#L934
printf: fmt.Sprintf does not support error-wrapping directive %w (govet)
lint: pkg/controllers/sync/dispatch/unmanaged.go#L196
ineffectual assignment to updateObj (ineffassign)
lint: pkg/controllers/sync/version/manager.go#L109
SA4006: this value of `ok` is never used (staticcheck)
test (1.19): pkg/controllers/override/util_test.go#L30
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.19): pkg/controllers/override/util_test.go#L30
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.19): pkg/util/annotation/submap_test.go#L25
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/util/annotation; to add it:
test (1.19): pkg/controllers/automigration/util_test.go#L40
undefined: countUnschedulablePods
test (1.19): pkg/controllers/federatedcluster/util_test.go#L263
undefined: aggregateResources
test (1.19): pkg/controllers/follower/util_test.go#L306
undefined: FollowerReference
test (1.19): pkg/controllers/follower/util_test.go#L309
undefined: FollowerReference
test (1.19): pkg/controllers/follower/util_test.go#L317
undefined: getFollowersFromPod
test (1.19): pkg/controllers/statusaggregator/plugins/job_test.go#L313
undefined: IsJobFinishedWithFailed
test (1.20): pkg/controllers/override/util_test.go#L30
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.20): pkg/controllers/override/util_test.go#L30
no required module provides package github.com/kubewharf/kubeadmiral/pkg/apis/types/v1alpha1; to add it:
test (1.20): pkg/util/annotation/submap_test.go#L25
no required module provides package github.com/kubewharf/kubeadmiral/pkg/controllers/util/annotation; to add it:
test (1.20): pkg/controllers/automigration/util_test.go#L40
undefined: countUnschedulablePods
test (1.20): pkg/controllers/federatedcluster/util_test.go#L263
undefined: aggregateResources
test (1.20): pkg/controllers/follower/util_test.go#L306
undefined: FollowerReference
test (1.20): pkg/controllers/follower/util_test.go#L309
undefined: FollowerReference
test (1.20): pkg/controllers/follower/util_test.go#L317
undefined: getFollowersFromPod
test (1.20): pkg/controllers/statusaggregator/plugins/job_test.go#L313
undefined: IsJobFinishedWithFailed
typos: docs/quickstart.md#L6
"propgating" should be "propagating".