Skip to content

Update module sigs.k8s.io/controller-tools to v0.16.5 #1005

Update module sigs.k8s.io/controller-tools to v0.16.5

Update module sigs.k8s.io/controller-tools to v0.16.5 #1005

Triggered via pull request August 14, 2024 18:54
Status Failure
Total duration 2m 20s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint: apiserver/billing/odoostorage/odoo/fake/fake.go#L95
in call to slices.SortFunc, type func(a "github.com/appuio/control-api/apis/billing/v1".BillingEntity, b "github.com/appuio/control-api/apis/billing/v1".BillingEntity) bool of func(a, b billingv1.BillingEntity) bool {…} does not match inferred type func(a "github.com/appuio/control-api/apis/billing/v1".BillingEntity, b "github.com/appuio/control-api/apis/billing/v1".BillingEntity) int for func(a E, b E) int
lint
cannot use handles (variable of type map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration) as "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration value in return statement: map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration does not implement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
lint
cannot use handles (variable of type map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration) as "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration value in return statement: map[string]"k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration does not implement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
lint
impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)
lint
undefined: leaderelection.SwitchMetric
lint
c.GenericConfig.Version undefined (type server.CompletedConfig has no field or method Version)
lint
cannot use c.tracker (variable of type versionedTracker) as "k8s.io/client-go/testing".ObjectTracker value in argument to testing.ObjectReaction: versionedTracker does not implement "k8s.io/client-go/testing".ObjectTracker (wrong type for method Create)
lint
Process completed with exit code 2.