Skip to content

Commit

Permalink
fix expected service in test
Browse files Browse the repository at this point in the history
  • Loading branch information
KauzClay committed Jan 12, 2024
1 parent 4e38995 commit fe7f339
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/reconciler/route/resources/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,9 +395,10 @@ func TestMakePlaceholderService(t *testing.T) {
ExternalName: tt.expectedExternalName,
SessionAffinity: corev1.ServiceAffinityNone,
Ports: []corev1.ServicePort{{
Name: netapi.ServicePortNameH2C,
Port: int32(80),
TargetPort: intstr.FromInt(80),
Name: netapi.ServicePortNameH2C,
AppProtocol: &netapi.AppProtocolH2C,
Port: int32(80),
TargetPort: intstr.FromInt(80),
}},
}

Expand Down

0 comments on commit fe7f339

Please sign in to comment.