Files
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
..
2022-03-22 13:04:35 +01:00
2022-01-18 12:47:07 +01:00
2022-05-25 12:26:43 +02:00
2017-11-01 11:24:59 -04:00
2022-04-26 18:12:22 +02:00
2022-05-25 14:10:02 -04:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-05-02 13:29:59 +02:00
2022-04-26 18:12:22 +02:00
2022-05-23 13:59:05 +02:00
2022-05-23 14:11:29 +02:00
2022-04-22 12:51:29 +02:00
2022-05-26 15:46:04 -07:00
2022-04-25 13:23:20 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-05-25 14:10:02 -04:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-05-12 10:51:13 +02:00
2022-02-03 13:14:07 +01:00
2022-02-22 11:05:26 -05:00
2022-05-12 10:51:13 +02:00
2022-04-25 13:23:20 +02:00
2022-02-22 11:05:26 -05:00
2022-05-25 14:10:02 -04:00
2022-01-18 12:47:07 +01:00
2022-01-12 17:07:30 +01:00
2022-01-18 12:47:07 +01: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-28 13:29:01 +02:00