From 8c781416b8180ce508c5cad69f76d47ce9340fc7 Mon Sep 17 00:00:00 2001 From: Jakob Ahrer Date: Thu, 26 May 2022 11:27:19 +0200 Subject: Fix swagger model of `InspectPodResponse` `net.IP` gets marshalled as `string` and not `[]uint8` [NO TESTS NEEDED] [NO NEW TESTS NEEDED] Signed-off-by: Jakob Ahrer --- libpod/define/pod_inspect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go index 219ffade2..c387856e5 100644 --- a/libpod/define/pod_inspect.go +++ b/libpod/define/pod_inspect.go @@ -82,6 +82,7 @@ type InspectPodInfraConfig struct { HostNetwork bool // StaticIP is a static IPv4 that will be assigned to the infra // container and then used by the pod. + // swagger:strfmt ipv4 StaticIP net.IP // StaticMAC is a static MAC address that will be assigned to the infra // container and then used by the pod. -- cgit v1.2.3-54-g00ecf