Remove IsGhost checks around networking

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby
2014-04-17 23:49:59 +00:00
parent 6934f0fa9e
commit eceeebc22d
2 changed files with 45 additions and 76 deletions
-4
View File
@@ -2297,10 +2297,6 @@ func (srv *Server) ContainerAttach(job *engine.Job) engine.Status {
//stream
if stream {
if container.State.IsGhost() {
return job.Errorf("Impossible to attach to a ghost container")
}
var (
cStdin io.ReadCloser
cStdout, cStderr io.Writer