mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
a70cdac356
Fix intermittent "Connection reset by peer" error during port forwarding https://github.com/rootless-containers/rootlesskit/issues/153 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
13 lines
228 B
Go
13 lines
228 B
Go
package mountinfo
|
|
|
|
import "io"
|
|
|
|
func parseMountTable(_ FilterFunc) ([]*Info, error) {
|
|
// Do NOT return an error!
|
|
return nil, nil
|
|
}
|
|
|
|
func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) {
|
|
return parseMountTable(f)
|
|
}
|