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:
R Tyler Croy 2017-08-16 09:55:36 +08:00
parent d9d105446b
commit 1966b95f79
1 changed files with 0 additions and 10 deletions

View File

@ -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
}