mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-22 23:51:27 +01:00
modify code where CI unpassed
This commit is contained in:
parent
85ce86df1a
commit
c5b1b86d89
@ -93,7 +93,7 @@ func getRepoCountByProject(projectName string) int {
|
||||
if len(projectName) > 0 {
|
||||
for _, r := range repoList {
|
||||
if strings.Contains(r, "/") && r[0:strings.LastIndex(r, "/")] == projectName {
|
||||
resp += 1
|
||||
resp++
|
||||
}
|
||||
}
|
||||
return resp
|
||||
|
Loading…
Reference in New Issue
Block a user