From 46a10bd6448573d46f853a9f2b1e64931dc0c70a Mon Sep 17 00:00:00 2001 From: Max Neverov Date: Mon, 22 Jan 2024 15:43:02 +0100 Subject: [PATCH] fmt --- backends/iptables/iptables.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backends/iptables/iptables.go b/backends/iptables/iptables.go index 51221bb7..20d55130 100644 --- a/backends/iptables/iptables.go +++ b/backends/iptables/iptables.go @@ -752,8 +752,7 @@ func (t *iptables) writeDNATRules(svcInfo *serviceInfo, svcName types.Namespaced } targetPort := t.getTargetPort(svcInfo, endpointPortMap, *epIP) - - // DNAT to final destination. + // DNAT to final destination. args = append(args, "-m", protocol, "-p", protocol, "-j", "DNAT", "--to-destination", net.JoinHostPort(*epIP, strconv.Itoa(targetPort))) t.natRules.Write(args) }