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:
邱剑
2018-11-20 17:46:31 +08:00
+2 -1
View File
@@ -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)
}
}