Remove duplicative definitions of functions in container_notlinux.go
---> Making bundle: binary (in bundles/17.05.0-ce/binary) Building: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce Created binary: bundles/17.05.0-ce/binary-client/docker-17.05.0-ce Building: bundles/17.05.0-ce/binary-daemon/dockerd-17.05.0-ce # github.com/docker/docker/container .gopath/src/github.com/docker/docker/container/container_unix.go:257: (*Container).SecretMount redeclared in this block previous declaration at .gopath/src/github.com/docker/docker/container/container_notlinux.go:16 .gopath/src/github.com/docker/docker/container/container_unix.go:270: (*Container).UnmountSecrets redeclared in this block previous declaration at .gopath/src/github.com/docker/docker/container/container_notlinux.go Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
This commit is contained in:
parent
d9d105446b
commit
1966b95f79
|
@ -11,13 +11,3 @@ func detachMounted(path string) error {
|
|||
// Therefore there are separate definitions for this.
|
||||
return unix.Unmount(path, 0)
|
||||
}
|
||||
|
||||
// SecretMount returns the mount for the secret path
|
||||
func (container *Container) SecretMount() *Mount {
|
||||
return nil
|
||||
}
|
||||
|
||||
// UnmountSecrets unmounts the fs for secrets
|
||||
func (container *Container) UnmountSecrets() error {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue