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 10, 2024
1 parent 7e9e4c7 commit a468a6b
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 a468a6b

Please sign in to comment.