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

chore: simple warning to let the user know, they didn't deploy anything. #2167

Merged
merged 4 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/pkg/packager/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ func (p *Packager) Deploy() (err error) {
if err != nil {
return fmt.Errorf("unable to deploy all components in this Zarf Package: %w", err)
}
if len(deployedComponents) == 0 {
message.Warn("No components were deployed")
bdw617 marked this conversation as resolved.
Show resolved Hide resolved
}

// Notify all the things about the successful deployment
message.Successf("Zarf deployment complete")
Expand Down
Loading