From 745fe37179322b874a087888a2ed5dc78aa3064d 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(+) (limited to 'libpod') diff --git a/libpod/define/pod_inspect.go b/libpod/define/pod_inspect.go index e85a660a1..c5ea3a3c0 100644 --- a/libpod/define/pod_inspect.go +++ b/libpod/define/pod_inspect.go @@ -80,6 +80,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