Skip to content

Commit

Permalink
Merge pull request #695 from tsteckenborn/master
Browse files Browse the repository at this point in the history
extends error message given no resources found by resource type
  • Loading branch information
jacobbednarz authored Apr 9, 2024
2 parents 4f4382c + bd65119 commit 30fd0c1
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 30fd0c1

Please sign in to comment.