@@ -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)
func halfSplice(dst, src net.Conn) error {