Files
podman/pkg
Alexander Larsson 1038f063e0 Add and use libpod/Container.Terminal() helper
This just gets ctr.config.Spec.Process.Terminal with some null checks,
allowing several places that open-coded this to use the helper.

In particular, this helps the code in
pkg/domain/infra/abi/terminal.StartAttachCtr(), that used to do:
`ctr.Spec().Process.Terminal`, which looks fine, but actually causes
a deep json copy in the `ctr.Spec()` call that takes over 3 msec.

[NO NEW TESTS NEEDED] Just minor performance effects

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2022-10-11 17:17:11 +02:00
..
2022-03-22 13:04:35 +01:00
2022-10-04 15:31:00 -05:00
2022-09-20 15:34:27 -04:00
2022-09-20 15:34:27 -04:00
2022-06-27 12:57:44 +01:00
2022-09-20 15:34:27 -04:00
2022-09-10 07:52:00 -04:00
2022-04-26 18:12:22 +02:00
2022-09-26 18:35:01 -04:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-09-20 15:34:27 -04:00
2022-09-20 15:34:27 -04:00
2022-04-26 18:12:22 +02:00
2022-09-20 15:34:27 -04:00