mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-11 08:27:36 +00:00
fix: return tty size in container_inspect_linux.go This PR updates the console size field for containers with terminal enabled. For cases where there is an issue with getting the size, suitable debug information is given, no update happens and default [0,0] is returned. This implementation is only for Linux systems. For FreeBSD, the console size is not implemented yet so, adds a todo for that. Fixes: #28368 Signed-off-by: Priyansh Sao <saopriyansh06@gmail.com> fix: add system test for podman inspect Adds system test to verify console size is correctly updated, includes two cases: When a tty is attached to the container - non-zero console size. When a tty is not attached to the container - zero console size. Fixes: #28368 Signed-off-by: Priyansh Sao <saopriyansh06@gmail.com> |
||
|---|---|---|
| .. | ||
| annotations.go | ||
| autoupdate.go | ||
| checkpoint_restore.go | ||
| config.go | ||
| container.go | ||
| container_inspect.go | ||
| containerstate.go | ||
| diff.go | ||
| errors.go | ||
| exec_codes.go | ||
| exit_code_propagation.go | ||
| fileinfo.go | ||
| healthchecks.go | ||
| info.go | ||
| mount.go | ||
| mount_freebsd.go | ||
| mount_linux.go | ||
| mount_unsupported.go | ||
| pod_inspect.go | ||
| podstate.go | ||
| runtime.go | ||
| sdnotify.go | ||
| version.go | ||
| volume_inspect.go | ||