containers / containers/podlet
unexpected value 'false' for '--infra' found; no more were expected
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 48
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 1
Description
Similar to others, I have experienced an issue when trying to create a quadlet file from a pod. In this case the `--infra` flag seems to cause an issue:
```
podlet generate pod pod_ha
Error:
0: error creating Quadlet file(s) from an existing object
1: error parsing `podman pod create` command from `["podman", "pod", "create", "--name=pod_ha", "--infra=false", "--share="]`
2: error: unexpected value 'false' for '--infra' found; no more were expected
2: Usage: create --name --infra [NAME]
2:
Location:
src/cli/generate.rs:340
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
```
Contributor guide
Assessment
This issue has not been assessed yet.