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 21, 2024
1 parent 581205c commit bef5e56
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 bef5e56

Please sign in to comment.