mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
fix comment
This commit is contained in:
parent
e51752239c
commit
f28140429e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user