Skip to content

Bump github.com/onmetal/controller-utils from 0.7.0 to 0.8.2 #173

Bump github.com/onmetal/controller-utils from 0.7.0 to 0.8.2

Bump github.com/onmetal/controller-utils from 0.7.0 to 0.8.2 #173

Triggered via pull request September 22, 2023 18:27
Status Failure
Total duration 8m 50s
Artifacts

golangci-lint.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: main.go#L60
could not import github.com/onmetal/metalnet/controllers (-: # github.com/onmetal/metalnet/controllers
lint: controllers/network_controller.go#L378
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object "sigs.k8s.io/controller-runtime/pkg/client".Object) source.SyncingSource) is not a type
lint: controllers/network_controller.go#L379
cannot use r.findObjectsForNetworkInterface (value of type func(obj "sigs.k8s.io/controller-runtime/pkg/client".Object) []reconcile.Request) as type handler.MapFunc in argument to handler.EnqueueRequestsFromMapFunc
lint: controllers/network_controller.go#L383
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object "sigs.k8s.io/controller-runtime/pkg/client".Object) source.SyncingSource) is not a type
lint: controllers/network_controller.go#L384
cannot use r.findObjectsForLoadBalancer (value of type func(obj "sigs.k8s.io/controller-runtime/pkg/client".Object) []reconcile.Request) as type handler.MapFunc in argument to handler.EnqueueRequestsFromMapFunc
lint: controllers/networkinterface_controller.go#L1493
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object "sigs.k8s.io/controller-runtime/pkg/client".Object) source.SyncingSource) is not a type
lint: controllers/networkinterface_controller.go#L1497
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object "sigs.k8s.io/controller-runtime/pkg/client".Object) source.SyncingSource) is not a type
lint: controllers/networkinterface_controller.go#L1504
cannot use func(obj client.Object) []ctrl.Request {…} (value of type func(obj "sigs.k8s.io/controller-runtime/pkg/client".Object) []reconcile.Request) as type handler.MapFunc in argument to handler.EnqueueRequestsFromMapFunc
lint: controllers/networkinterface_controller.go#L1524
cannot use func(obj client.Object) []ctrl.Request {…} (value of type func(obj "sigs.k8s.io/controller-runtime/pkg/client".Object) []reconcile.Request) as type handler.MapFunc in argument to handler.EnqueueRequestsFromMapFunc) (typecheck)
lint: main.go#L135
unknown field MetricsBindAddress in struct literal of type manager.Options (typecheck)