huawei eip delete fix

This commit is contained in:
tangbin
2020-07-20 10:51:56 +08:00
parent 2910eeb89b
commit 38440ed276
@@ -15,6 +15,8 @@
package modules
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/multicloud/huawei/client/auth"
)
@@ -35,3 +37,8 @@ func NewEipManager(regionId string, projectId string, signer auth.Signer, debug
ResourceKeyword: "publicips",
}}
}
// https://support.huaweicloud.com/api-eip/eip_api_0005.html
func (self *SEipManager) Delete(id string, params jsonutils.JSONObject) (jsonutils.JSONObject, error) {
return self.DeleteInContextWithSpec(self.ctx, id, "", nil, params, "")
}