This commit is contained in:
2023-06-23 15:30:46 +03:00
parent 928481d26f
commit 85ce76564f
6 changed files with 10 additions and 9 deletions

View File

@@ -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)