Skip to content

Commit

Permalink
extends error message given no resources found by resource type
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Steckenborn <[email protected]>
  • Loading branch information
Tobias Steckenborn committed Apr 8, 2024
1 parent 4f4382c commit bd65119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/cf-terraforming/cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ func generateResources() func(cmd *cobra.Command, args []string) {
}
// If we don't have any resources to generate, just bail out early.
if resourceCount == 0 {
fmt.Fprint(cmd.OutOrStderr(), "no resources found to generate")
fmt.Fprintf(cmd.OutOrStderr(), "no resources of type %q found to generate", resourceType)
return
}

Expand Down

0 comments on commit bd65119

Please sign in to comment.