mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 17:19:43 +00:00
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>
18 lines
362 B
Go
18 lines
362 B
Go
// +build !windows,!linux,!freebsd freebsd,!cgo
|
|
|
|
package mountinfo
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
"runtime"
|
|
)
|
|
|
|
func parseMountTable(_ FilterFunc) ([]*Info, error) {
|
|
return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
}
|
|
|
|
func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) {
|
|
return parseMountTable(f)
|
|
}
|