mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
修正:前端check compute servers perform start权限报out of index错误
This commit is contained in:
@@ -233,7 +233,8 @@ func (manager *SPolicyManager) explainPolicy(userCred mcclient.TokenCredential,
|
||||
}
|
||||
if len(policySeq) > 4 {
|
||||
for i := 4; i < len(policySeq); i += 1 {
|
||||
extra[i-4], _ = policySeq[i].GetString()
|
||||
ev, _ := policySeq[i].GetString()
|
||||
extra = append(extra, ev)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user