diff --git a/connectivity/tests/host.go b/connectivity/tests/host.go index 3a036d84c8..da2291c336 100644 --- a/connectivity/tests/host.go +++ b/connectivity/tests/host.go @@ -99,7 +99,7 @@ func (s *podToHostPort) Run(ctx context.Context, t *check.Test) { var ipFamStr string - t.ForEachIPFamily(func(ipFam check.IPFamily)) { + t.ForEachIPFamily(func(ipFam check.IPFamily) { if ipFam == check.IPv4 { ipFamStr = "v4" } else if ipFam == check.IPv6 { @@ -120,7 +120,6 @@ func (s *podToHostPort) Run(ctx context.Context, t *check.Test) { }) i++ - } - } + }) } }