Skip to content

Commit

Permalink
fix: error message for missing kind
Browse files Browse the repository at this point in the history
Signed-off-by: h3nryc0ding <[email protected]>
Signed-off-by: h3nryc0ding <[email protected]>
  • Loading branch information
h3nryc0ding committed Nov 10, 2024
1 parent 2a5948f commit 9abc802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flags/kustomization_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (s *KustomizationSource) Set(str string) error {
}
if sourceKind == "" {
if utils.ContainsItemString(supportedKustomizationSourceKinds, sourceName) {
return fmt.Errorf("no name given for source of kind '%s'", sourceName)
return fmt.Errorf("no kind specified for source '%s'", sourceName)
}
sourceKind = sourcev1.GitRepositoryKind
}
Expand Down

0 comments on commit 9abc802

Please sign in to comment.