removed fake resize

This commit is contained in:
ACoolName 2024-05-28 16:38:28 +03:00
parent ece028f167
commit 457b0fa326

View File

@ -616,7 +616,6 @@ func (con Connection) AttachServer(ctx *gin.Context) {
}
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})
if err2 != nil {
log.Printf("Failed to resize container to %dx%d: %s", width, height, err)