mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #4058 from brendandburns/rel10
fix build on non-linux hosts.
This commit is contained in:
commit
70449f16fe
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user