diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-05 22:14:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 22:14:01 +0100 |
commit | 6805befec2ca9b9a816b1efda0bf43a67cee09a7 (patch) | |
tree | d86c50f122cc58c62eeb10f8e908603c6a71d470 /libpod | |
parent | 6c0690dbab9de2f41365cca4cf1ed74514db7f52 (diff) | |
parent | 02f67181a281a4d6ae6bc9b21970d3cd66718b11 (diff) | |
download | podman-6805befec2ca9b9a816b1efda0bf43a67cee09a7.tar.gz podman-6805befec2ca9b9a816b1efda0bf43a67cee09a7.tar.bz2 podman-6805befec2ca9b9a816b1efda0bf43a67cee09a7.zip |
Merge pull request #12187 from Luap99/fix-swagger
[CI:DOCS] Fix swagger definition for the new mac address type
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/network/types/network.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/network/types/network.go b/libpod/network/types/network.go index 5cf523e20..ba5e018fd 100644 --- a/libpod/network/types/network.go +++ b/libpod/network/types/network.go @@ -99,6 +99,7 @@ func (n *IPNet) UnmarshalText(text []byte) error { // that it adds the json marshal/unmarshal methods. // This allows us to read the mac from a json string // and a byte array. +// swagger:model MacAddress type HardwareAddr net.HardwareAddr func (h *HardwareAddr) String() string { |