File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -585,9 +585,9 @@ func TestBackendTrafficPolicyTarget(t *testing.T) {
585585 LoadBalancer : & egv1a1.LoadBalancer {
586586 Type : egv1a1 .RoundRobinLoadBalancerType ,
587587 SlowStart : & egv1a1.SlowStart {
588- Window : ptr . To (gwapiv1 .Duration ("10ms" )),
589- Aggression : ptr. To [ uint32 ] (150 ),
590- MinWeightPercent : ptr. To [ uint32 ] (25 ),
588+ Window : new (gwapiv1.Duration ("10ms" )),
589+ Aggression : new ( uint32 (150 ) ),
590+ MinWeightPercent : new ( uint32 (25 ) ),
591591 },
592592 },
593593 },
@@ -612,8 +612,8 @@ func TestBackendTrafficPolicyTarget(t *testing.T) {
612612 LoadBalancer : & egv1a1.LoadBalancer {
613613 Type : egv1a1 .RoundRobinLoadBalancerType ,
614614 SlowStart : & egv1a1.SlowStart {
615- Window : ptr . To (gwapiv1 .Duration ("10ms" )),
616- Aggression : ptr. To [ uint32 ]( 0 ),
615+ Window : new (gwapiv1.Duration ("10ms" )),
616+ Aggression : new ( uint32 ( 0 ) ),
617617 },
618618 },
619619 },
You can’t perform that action at this time.
0 commit comments