Skip to content

use_image_resolve_conf and use_image_hosts in SpecGenerator are not renamed #173

@fabiorossetto

Description

@fabiorossetto

I was trying to use the use_image_resolve_conf option to create a container and it was not working. I intercepted the request and noticed that the JSON serialization looks like this:

{
    "name": "my-container"
    "use_image_hosts": true,
    "use_image_resolv_conf": true,
}

I think it should be UseImageHosts and UseImageResolvConf, and that's why it is not working correctly.

It's easy to fix, I can make a PR for it

  • Crate version: 0.10
  • OS: Linux
  • Output of running podman version on the command line: 4.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: issue or a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions