Commit 70449f16 authored by Brendan Burns's avatar Brendan Burns

Merge pull request #4058 from brendandburns/rel10

fix build on non-linux hosts.
parents 1469f692 ab0acae7
......@@ -21,16 +21,16 @@ package mount
const FlagBind = 0
const FlagReadOnly = 0
type mounter struct{}
type Mounter struct{}
func (mounter *mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
func (mounter *Mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
return nil
}
func (mounter *mounter) Unmount(target string, flags int) error {
func (mounter *Mounter) Unmount(target string, flags int) error {
return nil
}
func (mounter *mounter) List() ([]MountPoint, error) {
func (mounter *Mounter) List() ([]MountPoint, error) {
return []MountPoint{}, nil
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment