summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorJakob Ahrer <jakob@ahrer.dev>2022-05-26 11:27:19 +0200
committerMatthew Heon <mheon@redhat.com>2022-06-14 14:33:16 -0400
commit745fe37179322b874a087888a2ed5dc78aa3064d (patch)
tree613b98364f773b3d79df116b49100bca881e9afc /libpod
parent4bcae52d970699d01b88cbf68a0118b178afdb7b (diff)
downloadpodman-745fe37179322b874a087888a2ed5dc78aa3064d.tar.gz
podman-745fe37179322b874a087888a2ed5dc78aa3064d.tar.bz2
podman-745fe37179322b874a087888a2ed5dc78aa3064d.zip
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 <jakob@ahrer.dev>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/define/pod_inspect.go1
1 files changed, 1 insertions, 0 deletions
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.