mirror of https://github.com/docker/docs.git
Re-added mount_*.go in docker package to not break tests/build
This commit is contained in:
parent
b4ea31e1de
commit
8b61af1895
|
@ -0,0 +1,7 @@
|
|||
package docker
|
||||
|
||||
import "errors"
|
||||
|
||||
func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
|
||||
return errors.New("mount is not implemented on darwin")
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package docker
|
||||
|
||||
import "syscall"
|
||||
|
||||
|
||||
func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
|
||||
return syscall.Mount(source, target, fstype, flags, data)
|
||||
}
|
Loading…
Reference in New Issue