Skip to content

Commit a5fd2d6

Browse files
committed
chore(ingress): remove extra comments
1 parent 8f5eba9 commit a5fd2d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/ingress/model_build_frontend_nlb_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func Test_buildFrontendNlbSubnetMappings(t *testing.T) {
215215

216216
type expectedMapping struct {
217217
SubnetID string
218-
AllocationID *string // pointer to string for EIP allocation ID
218+
AllocationID *string
219219
}
220220

221221
tests := []struct {
@@ -299,7 +299,7 @@ func Test_buildFrontendNlbSubnetMappings(t *testing.T) {
299299
},
300300
},
301301
},
302-
scheme: elbv2.LoadBalancerSchemeInternetFacing, // EIPs require internet-facing
302+
scheme: elbv2.LoadBalancerSchemeInternetFacing,
303303
},
304304
wantMappings: []expectedMapping{
305305
{SubnetID: "subnet-1", AllocationID: awssdk.String("eip-1")},
@@ -357,7 +357,7 @@ func Test_buildFrontendNlbSubnetMappings(t *testing.T) {
357357
},
358358
},
359359
},
360-
scheme: elbv2.LoadBalancerSchemeInternal, // EIPs not allowed for internal scheme
360+
scheme: elbv2.LoadBalancerSchemeInternal,
361361
},
362362
wantMappings: nil,
363363
wantErr: "EIP allocations can only be set for internet facing load balancers",

0 commit comments

Comments
 (0)