mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #279 in YUNIONIO/onecloud from ~QUXUAN/onecloud:bugfix/qx-perform-class-action to release/2.2.0
* commit '7b9e11a15de8f370e716ecc8017547b4fa870e15': perform class action 返回值为复数
This commit is contained in:
@@ -357,7 +357,7 @@ func (this *ResourceManager) PerformClassAction(session *mcclient.ClientSession,
|
||||
|
||||
func (this *ResourceManager) PerformClassActionInContexts(session *mcclient.ClientSession, action string, params jsonutils.JSONObject, ctxs []ManagerContext) (jsonutils.JSONObject, error) {
|
||||
path := fmt.Sprintf("/%s/%s", this.ContextPath(ctxs), url.PathEscape(action))
|
||||
return this._post(session, path, params, this.Keyword)
|
||||
return this._post(session, path, params, this.KeywordPlural)
|
||||
}
|
||||
|
||||
func (this *ResourceManager) BatchPerformAction(session *mcclient.ClientSession, idlist []string, action string, params jsonutils.JSONObject) []SubmitResult {
|
||||
|
||||
Reference in New Issue
Block a user