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

handle conflict with name and output #3934

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

deitch
Copy link
Collaborator

@deitch deitch commented Jun 12, 2023

- What I did

When calling lkt build, if you do not provide --name, it calculates it. But later it checks if you provided --output and, if so, and you also have name set, it errors out.

It should calculate name if and only if outputFile also is not set.

- How I did it

Fixes a single file.

- How to verify it

CI

- Description for the changelog

Fix conflicts among CLI flags

Signed-off-by: Avi Deitcher <avi@deitcher.net>
@deitch deitch merged commit 655c7fb into linuxkit:master Jun 12, 2023
22 checks passed
@deitch deitch deleted the fix-name-output-build-bug branch June 12, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant