summaryrefslogtreecommitdiff
path: root/cmd/podman/early_init_linux.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-11-05 19:18:42 +0100
committerPaul Holzinger <pholzing@redhat.com>2021-11-05 19:25:40 +0100
commit02f67181a281a4d6ae6bc9b21970d3cd66718b11 (patch)
treeda79ca575eba17183796a5c1429cacf9fdbcfc41 /cmd/podman/early_init_linux.go
parente826158b4b9c4baef41ca872dea5e68e089355d3 (diff)
downloadpodman-02f67181a281a4d6ae6bc9b21970d3cd66718b11.tar.gz
podman-02f67181a281a4d6ae6bc9b21970d3cd66718b11.tar.bz2
podman-02f67181a281a4d6ae6bc9b21970d3cd66718b11.zip
Fix swagger definition for the new mac address type
The new mac address type broke the api docs. While we could successfully generate the swagger file it could not be viewed in a browser. The problem is that the swagger generation create two type definitions with the name `HardwareAddr` and this pointed back to itself. Thus the render process was stucked in an endless loop. To fix this manually rename the new type to MacAddress and overwrite the types to string because the json unmarshaller accepts the mac as string. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd/podman/early_init_linux.go')
0 files changed, 0 insertions, 0 deletions