Files
podman/test/e2e
Paul Holzinger 205c8c071e fix podman container restore without CreateNetNS
When a container does not use the default podman netns, for example
--network none or --network ns:/path a restore would fail because the
specgen check validates that c.config.StaticMAC is nil but the
unmarshaller sets it to an empty slice.

While we could make the check use len() > 0 I feel like it is more
common to check with != nil for ip and mac addresses.
Adding omitempty tag makes the json marshal/unmarshal work correctly.
This should not cause any issues.

Fixes #14389

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-05-31 16:49:40 +02:00
..
2021-11-12 18:32:01 +01:00
2020-10-21 10:00:08 -04:00
2022-04-29 14:06:38 +02:00
2022-05-04 12:15:45 +02:00
2022-04-29 14:06:38 +02:00
2022-05-10 20:11:16 +02:00
2022-05-11 20:44:37 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-05-04 12:11:32 -04:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-26 18:12:22 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-05-23 13:59:05 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-01-18 12:47:07 +01:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00
2022-04-29 14:06:38 +02:00