Skip to content

Upgrade to v1.2.0 of gateway API #1389

Upgrade to v1.2.0 of gateway API

Upgrade to v1.2.0 of gateway API #1389

Triggered via pull request December 9, 2024 23:33
Status Failure
Total duration 8m 48s
Artifacts

presubmit.yaml

on: pull_request
golangci-lint
15s
golangci-lint
Matrix: presubmit
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: pkg/model/lattice/iamauthpolicy.go#L6
could not import github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1 (-: # github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L93
cannot use p (variable of type *AccessLogPolicy) as client.Object value in argument to k8s.NamespacedName: *AccessLogPolicy does not implement client.Object (missing method DeepCopyObject)
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L98
cannot use &p (value of type *AccessLogPolicy) as "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy value in return statement: *AccessLogPolicy does not implement "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy (missing method DeepCopyObject)) (typecheck)
golangci-lint: cmd/aws-application-networking-k8s/main.go#L49
could not import github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1 (-: # github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L93
cannot use p (variable of type *AccessLogPolicy) as client.Object value in argument to k8s.NamespacedName: *AccessLogPolicy does not implement client.Object (missing method DeepCopyObject)
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L98
cannot use &p (value of type *AccessLogPolicy) as "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy value in return statement: *AccessLogPolicy does not implement "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy (missing method DeepCopyObject)) (typecheck)
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L1
: # github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1 [github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1.test]
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L93
cannot use p (variable of type *AccessLogPolicy) as client.Object value in argument to k8s.NamespacedName: *AccessLogPolicy does not implement client.Object (missing method DeepCopyObject)
golangci-lint: pkg/apis/applicationnetworking/v1alpha1/accesslogpolicy_types.go#L98
cannot use &p (value of type *AccessLogPolicy) as "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy value in return statement: *AccessLogPolicy does not implement "github.com/aws/aws-application-networking-k8s/pkg/model/core".Policy (missing method DeepCopyObject) (typecheck)
golangci-lint: pkg/controllers/accesslogpolicy_controller.go#L40
could not import github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1 (-: # github.com/aws/aws-application-networking-k8s/pkg/apis/applicationnetworking/v1alpha1
golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
presubmit (1.31.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636