修正:前端check compute servers perform start权限报out of index错误

This commit is contained in:
Qiu Jian
2018-11-20 17:35:58 +08:00
parent 098c96bb9d
commit f1b9ea55e7
+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)
}
}