fix huawei delete resource

This commit is contained in:
tangbin
2020-07-22 17:50:46 +08:00
parent faffc39a34
commit 88d67e0f36
@@ -218,7 +218,7 @@ func (self *SResourceManager) Delete(id string, params jsonutils.JSONObject) (js
}
func (self *SResourceManager) DeleteInContext(ctx manager.IManagerContext, id string, params jsonutils.JSONObject) (jsonutils.JSONObject, error) {
return self.DeleteInContextWithSpec(ctx, id, "", nil, params, self.Keyword)
return self.DeleteInContextWithSpec(ctx, id, "", nil, params, "")
}
func (self *SResourceManager) DeleteInContextWithSpec(ctx manager.IManagerContext, id string, spec string, queries map[string]string, params jsonutils.JSONObject, responseKey string) (jsonutils.JSONObject, error) {