-
Notifications
You must be signed in to change notification settings - Fork 63
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
imgpkg push help string references --lock option that doesn't exist. #354
Comments
Whoops, wrong repo. Can someone move this to the correct repo. |
Thanks for opening this issue. I was looking at
I think that you are looking at the option |
@joaopapereira I think the issue is this: --lock-output string Location to output the generated lockfile. Option only available when using --bundle or That highlighted area at the end of the |
sorry didn't read the full message my bad |
There is a '--lock' flag for the LockInput option: https://github.com/vmware-tanzu/carvel-imgpkg/blob/9248c77df8b6e77bc32f72dc36dc8bf048e86c06/pkg/imgpkg/cmd/lock_input_flags.go#L14-L17 Should it be removed from |
The problem here is that https://github.com/vmware-tanzu/carvel-imgpkg/blob/develop/pkg/imgpkg/cmd/lock_output_flags.go#L14 is used for both These are some possibilities to solve this issue:
Does this make sense? Also, feel free to send a PR our way with this. |
Issue fixed in release 0.29.0 |
What steps did you take:
Run:
This generates:
There is however no
--lock
option listed and trying to supply the option results in an error.What happened:
Shows incorrect message. Luckily did not catch on fire.
What did you expect:
That help string would be accurate.
Anything else you would like to add:
Nope.
Environment:
imgpkg version (use
imgpkg --version
):Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: