Commit ab0acae7 authored by Brendan Burns's avatar Brendan Burns

fix build on non-linux hosts.

parent 1469f692
...@@ -21,16 +21,16 @@ package mount ...@@ -21,16 +21,16 @@ package mount
const FlagBind = 0 const FlagBind = 0
const FlagReadOnly = 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 return nil
} }
func (mounter *mounter) Unmount(target string, flags int) error { func (mounter *Mounter) Unmount(target string, flags int) error {
return nil return nil
} }
func (mounter *mounter) List() ([]MountPoint, error) { func (mounter *Mounter) List() ([]MountPoint, error) {
return []MountPoint{}, nil 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