fix comment

This commit is contained in:
x1957 2017-09-30 01:00:24 +08:00
parent e51752239c
commit f28140429e

View File

@ -64,7 +64,7 @@ func (hp *hostport) String() string {
return fmt.Sprintf("%s:%d", hp.protocol, hp.port) 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 { func (h *hostportSyncer) openHostports(podHostportMapping *PodPortMapping) error {
var retErr error var retErr error
ports := make(map[hostport]closeable) ports := make(map[hostport]closeable)