Skip to content

Commit

Permalink
fix(repository.go): rename .argocd-source.yaml in error message (argo…
Browse files Browse the repository at this point in the history
…proj#4964)

Signed-off-by: Michael Goodness <[email protected]>
  • Loading branch information
mgoodness authored Dec 3, 2020
1 parent 7b0fe7b commit d82f6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reposerver/repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ func mergeSourceParameters(source *v1alpha1.ApplicationSource, path string) erro
func GetAppSourceType(source *v1alpha1.ApplicationSource, path string) (v1alpha1.ApplicationSourceType, error) {
err := mergeSourceParameters(source, path)
if err != nil {
return "", fmt.Errorf("error while parsing .argocd-app.yaml: %v", err)
return "", fmt.Errorf("error while parsing .argocd-source.yaml: %v", err)
}

appSourceType, err := source.ExplicitType()
Expand Down

0 comments on commit d82f6b4

Please sign in to comment.