log
This commit is contained in:
parent
3af19abc74
commit
214013d445
@ -547,6 +547,7 @@ func (con Connection) AttachServer(ctx *gin.Context) {
|
||||
time.Sleep(500)
|
||||
hijacked, err = con.dockerClient.ContainerAttach(context.TODO(), containers[0].ID, container.AttachOptions{Stream: true, Stdin: true, Stdout: true, Stderr: true, Logs: false})
|
||||
if err != nil {
|
||||
log.Printf("Failed to re-attach container %s", err)
|
||||
stop = true
|
||||
break
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user