Skip to content

Use gwapiv1.Duration instead of metav1.Duration in the API #9304

Use gwapiv1.Duration instead of metav1.Duration in the API

Use gwapiv1.Duration instead of metav1.Duration in the API #9304

Triggered via pull request December 14, 2024 01:19
Status Success
Total duration 6m 21s
Artifacts

codeql.yml

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

Annotations

10 errors
Analyze (go)
cannot use policy.Spec.FaultInjection.Delay.FixedDelay (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use policy.LoadBalancer.SlowStart.Window (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use policy.LoadBalancer.SlowStart.Window (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use hc.Interval (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use hc.BaseEjectionTime (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use hc.Timeout (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use hc.Interval (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use policy.DNS.DNSRefreshRate (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in struct literal
Analyze (go)
cannot use r.PerRetry.Timeout (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in assignment
Analyze (go)
cannot use r.PerRetry.BackOff.MaxInterval (variable of type *"sigs.k8s.io/gateway-api/apis/v1".Duration) as *"k8s.io/apimachinery/pkg/apis/meta/v1".Duration value in assignment