Skip to content

Commit

Permalink
change API call to match latest SDK release
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Aug 23, 2024
1 parent c736e3d commit 85e3d38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 85e3d38

Please sign in to comment.