automation-tests/pkg/api/handlers
Alexander Larsson 55191ecc20 Add and use Container.LinuxResource() helper
This gets c.config.Spec.Linux.Resources, with some nil checks.
Using this means less open coding of the nil-checks, but also the
existing user of this field in moveConmonToCgroupAndSignal() was
using ctr.Spec().Linux.Resources instead, and the Spec() call
is very expensive.

[NO NEW TESTS NEEDED] Just minor performance effects

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2022-10-12 13:45:49 +02:00
..
compat Add and use Container.LinuxResource() helper 2022-10-12 13:45:49 +02:00
libpod Revert "remote: fix manifest add --annotation" 2022-09-29 14:16:42 +02:00
swagger implement podman update 2022-09-01 13:02:01 -04:00
types bump go module to version 4 2022-01-18 12:47:07 +01:00
utils Switch to `github.com/blang/semver/v4` 2022-07-14 13:53:13 +02:00
decoder.go pkg/api: do not register decoder in endpoint handler 2022-04-29 14:06:54 +02:00
types.go implement podman update 2022-09-01 13:02:01 -04:00