Skip to content

Commit

Permalink
fix: clouduser's cloudgroups info
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Jul 15, 2020
1 parent 2b923eb commit fb229f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudid/models/clouduser.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (manager *SClouduserManager) FetchCustomizeColumns(
rows[i].CloudpolicyCount = len(policies)
groups, _ := user.GetCloudgroups()
for _, group := range groups {
rows[i].Cloudgroups = append(rows[i].Cloudpolicies, api.SCloudIdBaseResource{Id: group.Id, Name: group.Name})
rows[i].Cloudgroups = append(rows[i].Cloudgroups, api.SCloudIdBaseResource{Id: group.Id, Name: group.Name})
}
rows[i].CloudgroupCount = len(groups)
}
Expand Down

0 comments on commit fb229f6

Please sign in to comment.