summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Ahrer <jakob@ahrer.dev>2022-05-26 11:27:19 +0200
committerSoMuchForSubtlety <jakob@ahrer.dev>2022-05-26 16:34:05 +0200
commit8c781416b8180ce508c5cad69f76d47ce9340fc7 (patch)
tree084ff69d4a41ab9c759516db3d84edd69e0ae6d8
parente3663fbd7a9b96095edf3771000ba77892578bb5 (diff)
downloadpodman-8c781416b8180ce508c5cad69f76d47ce9340fc7.tar.gz
podman-8c781416b8180ce508c5cad69f76d47ce9340fc7.tar.bz2
podman-8c781416b8180ce508c5cad69f76d47ce9340fc7.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>
-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 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.