Victor Vieux 12 năm trước cách đây
mục cha
commit
b515a5a9ec
2 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 2
      container.go
  2. 0 1
      network.go

+ 0 - 2
container.go

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

+ 0 - 1
network.go

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