add extra annotations

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2019-05-01 00:23:48 +08:00
committed by zryfish
parent 3e8035dc2b
commit 8e2acfa7f6
16 changed files with 162 additions and 59 deletions

View File

@@ -249,11 +249,3 @@ func GetAllDevOpsProjectsNums() (int, error) {
}
return len(devOpsProjects), nil
}
func GetAllAccountNums() (int, error) {
users, err := iam.ListUsers(&params.Conditions{}, "", false, 1, 0)
if err != nil {
return 0, err
}
return users.TotalCount, nil
}