diff --git a/pkg/kubelet/network/hostport/hostport_syncer.go b/pkg/kubelet/network/hostport/hostport_syncer.go index 03cca1a8d80..0086b74561d 100644 --- a/pkg/kubelet/network/hostport/hostport_syncer.go +++ b/pkg/kubelet/network/hostport/hostport_syncer.go @@ -64,7 +64,7 @@ func (hp *hostport) String() string { return fmt.Sprintf("%s:%d", hp.protocol, hp.port) } -//openPodHostports opens all hostport for pod and returns the map of hostport and socket +// openHostports opens all hostport for pod and returns the map of hostport and socket func (h *hostportSyncer) openHostports(podHostportMapping *PodPortMapping) error { var retErr error ports := make(map[hostport]closeable)