removed fake resize
This commit is contained in:
parent
ece028f167
commit
457b0fa326
@ -616,7 +616,6 @@ func (con Connection) AttachServer(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
height := uint(i_height)
|
height := uint(i_height)
|
||||||
|
|
||||||
log.Printf("Fake resize %dx%d", width, height)
|
|
||||||
err2 = con.dockerClient.ContainerResize(context.TODO(), containers[0].ID, container.ResizeOptions{Height: height, Width: width})
|
err2 = con.dockerClient.ContainerResize(context.TODO(), containers[0].ID, container.ResizeOptions{Height: height, Width: width})
|
||||||
if err2 != nil {
|
if err2 != nil {
|
||||||
log.Printf("Failed to resize container to %dx%d: %s", width, height, err)
|
log.Printf("Failed to resize container to %dx%d: %s", width, height, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user