diff --git a/src/core/api/project.go b/src/core/api/project.go index 953344c2c..4a71dd316 100644 --- a/src/core/api/project.go +++ b/src/core/api/project.go @@ -267,7 +267,7 @@ func (p *ProjectAPI) Get() { err := p.populateProperties(p.project) if err != nil { - log.Errorf("populate project poroperties failed with : %+v", err) + log.Errorf("populate project properties failed with : %+v", err) } p.Data["json"] = p.project @@ -585,6 +585,10 @@ func (p *ProjectAPI) Summary() { return } + if err := p.populateProperties(p.project); err != nil { + log.Warningf("populate project properties failed with : %+v", err) + } + summary := &models.ProjectSummary{ RepoCount: p.project.RepoCount, ChartCount: p.project.ChartCount,