Fix the following warnings: pkg/mount/mountinfo.go:5:6: type name will be used as mount.MountInfo by other packages, and that stutters; consider calling this Info pkg/mount/mountinfo.go:7:2: struct field Id should be ID Signed-off-by: Antonio Murdaca <runcom@linux.com> Upstream-commit: 0f5c9d301b9b1cca66b3ea0f9dec3b5317d3686d Component: engine
13 lines
236 B
Go
13 lines
236 B
Go
// +build !linux,!freebsd freebsd,!cgo
|
|
|
|
package mount
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
)
|
|
|
|
func parseMountTable() ([]*Info, error) {
|
|
return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
}
|