build(deps): update to ginkgo v2 #37
build-and-test.yml
on: pull_request
build-and-test
4m 12s
Annotations
10 errors
build-and-test:
pkg/controller/util/handlers_test.go#L70
not enough arguments in call to trigger.OnAdd
|
build-and-test:
pkg/controller/status/controller.go#L208
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollWithContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
build-and-test:
pkg/controller/sync/version/manager.go#L209
SA1019: wait.PollImmediateInfinite is deprecated: This method does not return errors from context, use PollWithContextCancel. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
build-and-test:
pkg/controller/sync/version/manager.go#L288
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollWithContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
build-and-test:
pkg/kubefedctl/federate/federate.go#L487
SA1019: wait.PollImmediate is deprecated: This method does not return errors from context, use PollWithContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
build-and-test:
test/common/crudtester.go#L506
SA1019: wait.ErrWaitTimeout is deprecated: This type will be made private in favor of Interrupted() for checking errors or ErrorInterrupted(err) for returning a wrapped error. (staticcheck)
|
build-and-test:
test/common/crudtester.go#L521
SA1019: wait.ErrWaitTimeout is deprecated: This type will be made private in favor of Interrupted() for checking errors or ErrorInterrupted(err) for returning a wrapped error. (staticcheck)
|
build-and-test:
test/e2e/framework/cluster.go#L59
SA1019: wait.Poll is deprecated: This method does not return errors from context, use PollWithContextTimeout. Note that the new method will no longer return ErrWaitTimeout and instead return errors defined by the context package. Will be removed in a future release. (staticcheck)
|
build-and-test:
pkg/controller/sync/dispatch/retain_test.go#L24
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
build-and-test:
pkg/kubefedctl/join.go#L40
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|