From bef5e56390e93851ef9a1c8bcd8feeaa225032e0 Mon Sep 17 00:00:00 2001 From: Charles Treatman Date: Wed, 21 Aug 2024 09:32:20 -0500 Subject: [PATCH] change API call to match latest SDK release --- internal/resources/metal/vrf_bgp_dynamic_neighbor/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resources/metal/vrf_bgp_dynamic_neighbor/resource.go b/internal/resources/metal/vrf_bgp_dynamic_neighbor/resource.go index 99503734c..c86e1c93c 100644 --- a/internal/resources/metal/vrf_bgp_dynamic_neighbor/resource.go +++ b/internal/resources/metal/vrf_bgp_dynamic_neighbor/resource.go @@ -71,7 +71,7 @@ func (r *Resource) Create(ctx context.Context, request resource.CreateRequest, r return } - neighbor, _, err := client.VRFsApi.CreateBgpDynamicNeighbor(ctx, plan.GatewayID.ValueString()). + neighbor, _, err := client.MetalGatewaysApi.CreateBgpDynamicNeighbor(ctx, plan.GatewayID.ValueString()). BgpDynamicNeighborCreateInput(createRequest). Exclude(bgpNeighborExcludes). Include(bgpNeighborIncludes).