Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing committed Nov 1, 2024
1 parent 7db6711 commit fce855d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/provider/kubernetes/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ func Test_mergeRouteParentStatus(t *testing.T) {
{
ControllerName: "gateway.envoyproxy.io/gatewayclass-controller",
ParentRef: gwapiv1.ParentReference{
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
SectionName: ptr.To[gwapiv1.SectionName]("listener1"),
Port: ptr.To[gwapiv1.PortNumber](80),
Port: ptr.To[gwapiv1.PortNumber](80),
},
Conditions: []metav1.Condition{
{
Expand Down Expand Up @@ -70,10 +70,10 @@ func Test_mergeRouteParentStatus(t *testing.T) {
{
ControllerName: "gateway.envoyproxy.io/gatewayclass-controller",
ParentRef: gwapiv1.ParentReference{
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
Name: "gateway1",
Namespace: ptr.To[gwapiv1.Namespace]("default"),
SectionName: ptr.To[gwapiv1.SectionName]("listener1"),
Port: ptr.To[gwapiv1.PortNumber](80),
Port: ptr.To[gwapiv1.PortNumber](80),
},
Conditions: []metav1.Condition{
{
Expand Down

0 comments on commit fce855d

Please sign in to comment.