|
@@ -606,7 +606,6 @@ func (container *Container) waitLxc() error {
|
|
}
|
|
}
|
|
time.Sleep(500 * time.Millisecond)
|
|
time.Sleep(500 * time.Millisecond)
|
|
}
|
|
}
|
|
- return nil
|
|
|
|
}
|
|
}
|
|
|
|
|
|
func (container *Container) monitor() {
|
|
func (container *Container) monitor() {
|
|
@@ -795,7 +794,6 @@ func (container *Container) WaitTimeout(timeout time.Duration) error {
|
|
case <-done:
|
|
case <-done:
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
- panic("unreachable")
|
|
|
|
}
|
|
}
|
|
|
|
|
|
func (container *Container) EnsureMounted() error {
|
|
func (container *Container) EnsureMounted() error {
|