Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote: usability: "diff" with no args makes nonsensical suggestion (--latest) #23038

Closed
edsantiago opened this issue Jun 18, 2024 · 0 comments · Fixed by #23043
Closed

remote: usability: "diff" with no args makes nonsensical suggestion (--latest) #23038

edsantiago opened this issue Jun 18, 2024 · 0 comments · Fixed by #23043
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. remote Problem is in podman-remote

Comments

@edsantiago
Copy link
Member

$ bin/podman-remote diff
Error: "podman-remote diff" requires a name, id, or the "--latest" flag

Solution: fix this to check for IsRemote()

if len(args) == 0 && !given {
return fmt.Errorf("%q requires a name, id, or the \"--latest\" flag", cmd.CommandPath())
}

@edsantiago edsantiago added Good First Issue This issue would be a good issue for a first time contributor to undertake. remote Problem is in podman-remote labels Jun 18, 2024
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. remote Problem is in podman-remote
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant