Skip to content

HasResource should return whether resource is matched not cached #127

HasResource should return whether resource is matched not cached

HasResource should return whether resource is matched not cached #127

Triggered via push October 10, 2024 07:17
Status Failure
Total duration 51m 39s
Artifacts 6

ci.yml

on: push
Matrix: e2e test
Fit to window
Zoom out
Zoom in

Annotations

5 errors
lint: pkg/search/proxy/controller_test.go#L296
cannot use func(m map[string]map[schema.GroupVersionResource]*store.MultiNamespace) error {…} (value of type func(m map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace) error) as func(resourcesByCluster map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace, allMatchedResources map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]struct{}) error value in struct literal (typecheck)
lint
Process completed with exit code 1.
unit test: pkg/search/proxy/controller_test.go#L296
cannot use func(m map[string]map[schema.GroupVersionResource]*store.MultiNamespace) error {…} (value of type func(m map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace) error) as func(resourcesByCluster map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace, allMatchedResources map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]struct{}) error value in struct literal
unit test: pkg/search/proxy/controller_test.go#L296
cannot use func(m map[string]map[schema.GroupVersionResource]*store.MultiNamespace) error {…} (value of type func(m map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace) error) as func(resourcesByCluster map[string]map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]*store.MultiNamespace, allMatchedResources map["k8s.io/apimachinery/pkg/runtime/schema".GroupVersionResource]struct{}) error value in struct literal
unit test
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
karmada_e2e_log_v1.29.0
4.68 MB
karmada_e2e_log_v1.30.0
4.91 MB
karmada_e2e_log_v1.31.0
4.59 MB
karmada_kind_log_v1.29.0
2.01 KB
karmada_kind_log_v1.30.0
1.96 KB
karmada_kind_log_v1.31.0
2.02 KB