Skip to content

Commit 183995a

Browse files
committed
Fix TCP typo
1 parent e59d5b4 commit 183995a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/webspherelibertyapplication_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ func (r *ReconcileWebSphereLiberty) getDNSEgressRule(reqLogger logr.Logger, endp
978978
dnsRule.Ports = append(dnsRule.Ports, portUDP)
979979

980980
portTCP := networkingv1.NetworkPolicyPort{}
981-
tcp := corev1.ProtocolUDP
981+
tcp := corev1.ProtocolTCP
982982
portTCP.Protocol = &tcp
983983
var portNumberTCP intstr.IntOrString = intstr.FromInt((int)(53))
984984
portTCP.Port = &portNumberTCP

0 commit comments

Comments
 (0)