Skip to content

Commit

Permalink
found another one
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 12, 2023
1 parent 0362221 commit c0ffc01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/config/vcstoargomap.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ func (v2a *VcsToArgoMap) GetAppsInRepo(repoCloneUrl string) *AppDirectory {
func (v2a *VcsToArgoMap) WalkKustomizeApps(repo *repo.Repo, fs fs.FS) *AppDirectory {

var (
result AppDirectory
err error
err error

result = NewAppDirectory()
appdir = v2a.GetAppsInRepo(repo.CloneURL)
apps = appdir.GetApps(nil)
)

for _, app := range apps {
if err = walkKustomizeFiles(&result, fs, app.Name, app.Path); err != nil {
if err = walkKustomizeFiles(result, fs, app.Name, app.Path); err != nil {
log.Error().Err(err).Msgf("failed to parse kustomize.yaml in %s", app.Path)
}
}

return &result
return result
}

0 comments on commit c0ffc01

Please sign in to comment.