Skip to content

Commit

Permalink
use the right constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
djeebus committed Dec 9, 2023
1 parent 98af3b8 commit 9e3bc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/vcstoargomap.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (v2a *VcsToArgoMap) GetAppsInRepo(repoCloneUrl string) *AppDirectory {

appdir := v2a.appDirByRepo[repoUrl]
if appdir == nil {
appdir = new(AppDirectory)
appdir = NewAppDirectory()
v2a.appDirByRepo[repoUrl] = appdir
}

Expand Down

0 comments on commit 9e3bc17

Please sign in to comment.