4.2.2
This commit is contained in:
@@ -139,8 +139,8 @@ func resourceLBBackendServerDelete(ctx context.Context, d *schema.ResourceData,
|
||||
c := m.(*controller.ControllerCfg)
|
||||
req := lb.BackendServerDeleteRequest{
|
||||
LBID: uint64(d.Get("lb_id").(int)),
|
||||
BackendName: d.Get("name").(string),
|
||||
ServerName: d.Get("backend_name").(string),
|
||||
BackendName: d.Get("backend_name").(string),
|
||||
ServerName: d.Get("name").(string),
|
||||
}
|
||||
|
||||
_, err = c.CloudAPI().LB().BackendServerDelete(ctx, req)
|
||||
|
||||
@@ -578,7 +578,7 @@ func resourceVinsUpdate(ctx context.Context, d *schema.ResourceData, m interface
|
||||
natRule := natRuleInterface.(map[string]interface{})
|
||||
req := vins.NATRuleDelRequest{
|
||||
VINSID: vinsData.ID,
|
||||
RuleID: uint64(natRule["rule_id"].(int)),
|
||||
RuleID: int64(natRule["rule_id"].(int)),
|
||||
}
|
||||
|
||||
_, err := c.CloudAPI().VINS().NATRuleDel(ctx, req)
|
||||
|
||||
Reference in New Issue
Block a user