Skip to content

interface: update traffic manager APIs to support splitting weight behind serviceImport #1085

interface: update traffic manager APIs to support splitting weight behind serviceImport

interface: update traffic manager APIs to support splitting weight behind serviceImport #1085

Triggered via pull request December 19, 2024 08:18
Status Failure
Total duration 2m 58s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint: cmd/hub-net-controller-manager/main.go#L45
could not import go.goms.io/fleet-networking/pkg/controllers/hub/trafficmanagerbackend (-: # go.goms.io/fleet-networking/pkg/controllers/hub/trafficmanagerbackend
Lint: pkg/controllers/hub/trafficmanagerbackend/controller.go#L521
unknown field Cluster in struct literal of type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus) (typecheck)
Lint: test/common/trafficmanager/validator/backend.go#L30
s1.Cluster undefined (type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus has no field or method Cluster)
Lint: test/common/trafficmanager/validator/backend.go#L30
s2.Cluster undefined (type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus has no field or method Cluster) (typecheck)
Lint: pkg/controllers/hub/trafficmanagerbackend/controller_integration_test.go#L24
could not import go.goms.io/fleet-networking/test/common/trafficmanager/validator (-: # go.goms.io/fleet-networking/test/common/trafficmanager/validator
Lint: test/common/trafficmanager/validator/backend.go#L30
s1.Cluster undefined (type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus has no field or method Cluster)
Lint: test/common/trafficmanager/validator/backend.go#L30
s2.Cluster undefined (type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus has no field or method Cluster)) (typecheck)
Lint: pkg/controllers/hub/trafficmanagerbackend/controller.go#L521
unknown field Cluster in struct literal of type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus (typecheck)
Lint: pkg/controllers/hub/trafficmanagerprofile/controller_integration_test.go#L20
could not import go.goms.io/fleet-networking/test/common/trafficmanager/validator (-: # go.goms.io/fleet-networking/test/common/trafficmanager/validator
Lint: test/common/trafficmanager/validator/backend.go#L30
s1.Cluster undefined (type "go.goms.io/fleet-networking/api/v1alpha1".TrafficManagerEndpointStatus has no field or method Cluster)
detect-noop
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/fleet-networking/fleet-networking. Supported file pattern: go.sum