Skip to content

Commit

Permalink
this should use the constructor too
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 12, 2023
1 parent 9e3bc17 commit 0362221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/affected_apps/argocd_matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewArgocdMatcher(vcsToArgoMap config.VcsToArgoMap, repo *repo.Repo, repoPat
repoApps := getArgocdApps(vcsToArgoMap, repo)
kustomizeAppFiles := getKustomizeApps(vcsToArgoMap, repo, repoPath)

appDirectory := new(config.AppDirectory).
appDirectory := config.NewAppDirectory().
Union(repoApps).
Union(kustomizeAppFiles)

Expand Down

0 comments on commit 0362221

Please sign in to comment.