Skip to content

chore(deps): update dependencies in release/v1.4 #14192

chore(deps): update dependencies in release/v1.4

chore(deps): update dependencies in release/v1.4 #14192

Triggered via pull request December 27, 2024 00:07
@nddqnddq
synchronize #3292
deps/v1.4
Status Failure
Total duration 7m 12s
Artifacts

golangci.yaml

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

Annotations

40 errors and 6 warnings
Lint (1.23.x, ubuntu-latest): cns/healthserver/server.go#L10
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.23.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/kubecontroller/clustersubnetstate/metrics.go#L5
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.23.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.23.x, ubuntu-latest): cns/service/main.go#L66
could not import sigs.k8s.io/controller-runtime/pkg/cache (-: # sigs.k8s.io/controller-runtime/pkg/cache
Lint (1.23.x, ubuntu-latest)
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 (1.23.x, ubuntu-latest)
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 (1.23.x, ubuntu-latest)
impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)
Lint (1.23.x, ubuntu-latest): cns/service/metrics.go#L5
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.23.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/healthserver/server.go#L10
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.22.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/kubecontroller/clustersubnetstate/metrics.go#L5
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.22.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.22.x, ubuntu-latest): cns/service/main.go#L66
could not import sigs.k8s.io/controller-runtime/pkg/cache (-: # sigs.k8s.io/controller-runtime/pkg/cache
Lint (1.22.x, ubuntu-latest)
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 (1.22.x, ubuntu-latest)
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 (1.22.x, ubuntu-latest)
impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)
Lint (1.22.x, ubuntu-latest): cns/service/metrics.go#L5
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
Lint (1.22.x, ubuntu-latest)
undefined: leaderelection.SwitchMetric) (typecheck)
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.22.x, windows-latest)
impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)\n\tmap[string]\"k8s.io/client-go/tools/cache\".ResourceEventHandlerRegistration does not implement \"k8s.io/client-go/tools/cache\".ResourceEventHandlerRegistration (missing method HasSynced))"
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.22.x, windows-latest)
missing type in composite literal"
Lint (1.22.x, windows-latest)
\"k8s.io/apimachinery/pkg/fields\" imported and not used"
Lint (1.22.x, windows-latest)
resp.Properties undefined (type azsecrets.GetSecretResponse has no field or method Properties))"
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.22.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
impossible type assertion: h.(map[string]toolscache.ResourceEventHandlerRegistration)\n\tmap[string]\"k8s.io/client-go/tools/cache\".ResourceEventHandlerRegistration does not implement \"k8s.io/client-go/tools/cache\".ResourceEventHandlerRegistration (missing method HasSynced))"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
missing type in composite literal"
Lint (1.23.x, windows-latest)
\"k8s.io/apimachinery/pkg/fields\" imported and not used"
Lint (1.23.x, windows-latest)
resp.Properties undefined (type azsecrets.GetSecretResponse has no field or method Properties))"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, windows-latest)
undefined: leaderelection.SwitchMetric)"
Lint (1.23.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
Lint (1.22.x, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (1.22.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
Lint (1.22.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum
Lint (1.23.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum