mirror of https://github.com/containers/podman.git
swagger: fix Info name conflict
go swagger has a flat namespace so it doesn't handle name conflicts at all. The libpod info response uses the Info struct from some docker dep instead. Because we cannot change the docker dependency simply rename the Info struct, but only via swagger comment not the go actual struct. I verified locally that this works. Fixes #18228 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
0b51f447b8
commit
0a92b399df
|
@ -6,6 +6,7 @@ import (
|
|||
|
||||
// Info is the overall struct that describes the host system
|
||||
// running libpod/podman
|
||||
// swagger:model LibpodInfo
|
||||
type Info struct {
|
||||
Host *HostInfo `json:"host"`
|
||||
Store *StoreInfo `json:"store"`
|
||||
|
|
Loading…
Reference in New Issue