Skip to content

api: define API for MultiClusterService #13349

api: define API for MultiClusterService

api: define API for MultiClusterService #13349

Triggered via pull request November 23, 2023 03:22
Status Failure
Total duration 5m 58s
Artifacts

ci.yml

on: pull_request
unit test
0s
unit test
Matrix: e2e test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
lint: cmd/webhook/app/webhook.go#L49
could not import github.com/karmada-io/karmada/pkg/webhook/multiclusterservice (-: # github.com/karmada-io/karmada/pkg/webhook/multiclusterservice
lint: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
lint: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
lint: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)
lint: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)) (typecheck)
lint: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
lint: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
lint: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)
lint: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)
lint: pkg/webhook/multiclusterservice/validating_test.go#L56
unknown field ServerLocaltions in struct literal of type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec
compile: pkg/webhook/multiclusterservice/validating.go#L107
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
compile: pkg/webhook/multiclusterservice/validating.go#L109
mcs.Spec.ServerLocaltions undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ServerLocaltions)
compile: pkg/webhook/multiclusterservice/validating.go#L116
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)
compile: pkg/webhook/multiclusterservice/validating.go#L118
mcs.Spec.ClientLocations undefined (type "github.com/karmada-io/karmada/pkg/apis/networking/v1alpha1".MultiClusterServiceSpec has no field or method ClientLocations)
compile
Process completed with exit code 2.