moby/daemon/resize.go
Antonio Murdaca e290a22dc9 Remove job from resize&execResize
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
2015-04-10 00:56:43 +02:00

12 lines
266 B
Go

package daemon
func (daemon *Daemon) ContainerExecResize(name string, height, width int) error {
execConfig, err := daemon.getExecConfig(name)
if err != nil {
return err
}
if err := execConfig.Resize(height, width); err != nil {
return err
}
return nil
}