mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 13:01:23 +01:00
change the comment of the function
This commit is contained in:
parent
d4cc5090e4
commit
acb2d0252b
@ -84,7 +84,7 @@ func (s *StatisticAPI) Get() {
|
|||||||
s.ServeJSON()
|
s.ServeJSON()
|
||||||
}
|
}
|
||||||
|
|
||||||
//return repo numbers of specified project
|
//GetReposByProject returns repo numbers of specified project
|
||||||
func (s *StatisticAPI) GetReposByProject(projectName string, isAdmin bool) int {
|
func (s *StatisticAPI) GetReposByProject(projectName string, isAdmin bool) int {
|
||||||
repoList, err := svc_utils.GetRepoFromCache()
|
repoList, err := svc_utils.GetRepoFromCache()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user