mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
huawei eip delete fix
This commit is contained in:
@@ -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, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user