mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
go vet
Upstream-commit: b515a5a9ec5792c67be5fe8476df96903f43df71 Component: engine
This commit is contained in:
@@ -606,7 +606,6 @@ func (container *Container) waitLxc() error {
|
||||
}
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (container *Container) monitor() {
|
||||
@@ -795,7 +794,6 @@ func (container *Container) WaitTimeout(timeout time.Duration) error {
|
||||
case <-done:
|
||||
return nil
|
||||
}
|
||||
panic("unreachable")
|
||||
}
|
||||
|
||||
func (container *Container) EnsureMounted() error {
|
||||
|
||||
@@ -258,7 +258,6 @@ func proxy(listener net.Listener, proto, address string) error {
|
||||
utils.Debugf("Connected to backend, splicing")
|
||||
splice(src, dst)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func halfSplice(dst, src net.Conn) error {
|
||||
|
||||
Reference in New Issue
Block a user