spiegel_podman/pkg/domain
Paul Holzinger 88890d3eb8
play kube: never add empty alias
Netavark v1.15 added new warnings on some invalid names and that
triggerd a new test failure in podman e2e test.

The "Podman kube play with disabled cgroup" case now complains about an
empty name:
podman [options] kube play /tmp/CI_aM20/podman-e2e-3156601197/subtest-3441376193/p/kube.yaml
[WARN  netavark::network::bridge] invalid network alias "": name is empty, ignoring this name

This is because this test does not set a container name thus the code
was adding an empty string so to fix it check if the name is not empty
first.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
(cherry picked from commit da95bbdd5d)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-06-04 11:36:47 +02:00
..
entities Add ability to set layer media type for artifacts 2025-04-17 10:36:21 -05:00
filters Merge pull request #24791 from arsenalzp/issue_24664 2025-04-08 12:55:09 +00:00
infra play kube: never add empty alias 2025-06-04 11:36:47 +02:00
utils Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00