Skip to content

Commit

Permalink
fix: a-end partner config state on update
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaportPhilipBrowne committed Sep 25, 2024
1 parent 429afe0 commit 5613de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/vxc_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -3497,7 +3497,7 @@ func (r *vxcResource) Update(ctx context.Context, req resource.UpdateRequest, re
}
aEndPartnerConfigObj, partnerDiags := types.ObjectValueFrom(ctx, vxcPartnerConfigAttrs, aEndPartnerConfigModel)
resp.Diagnostics.Append(partnerDiags...)
plan.AEndPartnerConfig = aEndPartnerConfigObj
state.AEndPartnerConfig = aEndPartnerConfigObj
updateReq.AEndPartnerConfig = aEndMegaportConfig
default:
resp.Diagnostics.AddError(
Expand Down

0 comments on commit 5613de8

Please sign in to comment.