diff --git a/internal/flags/kustomization_source.go b/internal/flags/kustomization_source.go index 4dc124ab..3f339585 100644 --- a/internal/flags/kustomization_source.go +++ b/internal/flags/kustomization_source.go @@ -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 }