diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-11-03 14:54:48 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-11-03 15:30:16 +0100 |
commit | 001d48929dcbe4f3a8eeb3db2a7bfdce5a90f81a (patch) | |
tree | c44bf5a4f6956f1d3900761079f452a9499f8af6 /pkg/api | |
parent | 82dba9754745f7598619050af4212a20b21821ad (diff) | |
download | podman-001d48929dcbe4f3a8eeb3db2a7bfdce5a90f81a.tar.gz podman-001d48929dcbe4f3a8eeb3db2a7bfdce5a90f81a.tar.bz2 podman-001d48929dcbe4f3a8eeb3db2a7bfdce5a90f81a.zip |
MAC address json unmarshal should allow strings
Create a new mac address type which supports json marshal/unmarshal from
and to string. This change is backwards compatible with the previous
versions as the unmarshal method still accepts the old byte array or
base64 encoded string.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/api')
0 files changed, 0 insertions, 0 deletions