spiegel_podman/pkg/domain
Alexander Larsson c88dfbb981 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-18 13:36:29 -04:00
..
entities Revert "remote: fix manifest add --annotation" 2022-09-29 14:16:42 +02:00
filters prune filter handling 2022-07-25 09:28:26 -04:00
infra Add and use libpod/Container.Terminal() helper 2022-10-18 13:36:29 -04:00
utils Replace deprecated ioutil 2022-09-20 15:34:27 -04:00