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

Error when building package with zero components #3307

Open
phillebaba opened this issue Dec 9, 2024 · 0 comments
Open

Error when building package with zero components #3307

phillebaba opened this issue Dec 9, 2024 · 0 comments

Comments

@phillebaba
Copy link
Member

Describe what should be investigated or refactored

When a Zarf package has flavors set on all of the components, it is possible to build a package that has no components. This occurs either when no flavor is defined or when the set flavor does not match any component. The current behavior is to create the package and report everything was successful.

Links to any relevant code

N/A

Additional context

I do not see a use case where someone would want to create a package without a component. It would be better to tell the user with an error that no components match the filter.

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

No branches or pull requests

1 participant