mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Automatic merge from release/2.3.0 -> release/2.4.0
* commit '28a26e34aa42a3c4f3d510d3021dafd71e617011': 修正:前端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