mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
Remove JSON tag from UseImageHosts in ContainerConfig
This did not have a JSON tag prior to being added by #25008. By adding one we risk a breaking change in the DB (particularly given the change in case - useImageHosts vs UseImageHosts) which we should try to avoid. Remove the tag given this. Signed-off-by: Matt Heon <mheon@redhat.com>
This commit is contained in:
@ -292,7 +292,7 @@ type ContainerNetworkConfig struct {
|
|||||||
// UseImageHosts indicates that /etc/hosts should not be
|
// UseImageHosts indicates that /etc/hosts should not be
|
||||||
// bind-mounted inside the container.
|
// bind-mounted inside the container.
|
||||||
// Conflicts with HostAdd.
|
// Conflicts with HostAdd.
|
||||||
UseImageHosts bool `json:"useImageHosts"`
|
UseImageHosts bool
|
||||||
// BaseHostsFile is the base file to create the `/etc/hosts` file inside the container.
|
// BaseHostsFile is the base file to create the `/etc/hosts` file inside the container.
|
||||||
// This must either be an absolute path to a file on the host system, or one of the
|
// This must either be an absolute path to a file on the host system, or one of the
|
||||||
// special flags `image` or `none`.
|
// special flags `image` or `none`.
|
||||||
|
Reference in New Issue
Block a user