From 5674fea10b0cc7ff88c6119c411676e6e7974175 Mon Sep 17 00:00:00 2001 From: ziyeqf <51212351+ziyeqf@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:30:29 +0800 Subject: [PATCH] typo Signed-off-by: ziyeqf <51212351+ziyeqf@users.noreply.github.com> --- .../application_load_balancer_association_resource.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/services/servicenetworking/application_load_balancer_association_resource.go b/internal/services/servicenetworking/application_load_balancer_association_resource.go index ff43d2c82ba7..ca2010842605 100644 --- a/internal/services/servicenetworking/application_load_balancer_association_resource.go +++ b/internal/services/servicenetworking/application_load_balancer_association_resource.go @@ -161,11 +161,11 @@ func (t AssociationResource) Read() sdk.ResourceFunc { if prop := model.Properties; prop != nil { if prop.Subnet != nil { - parsedSubnedId, err := commonids.ParseSubnetID(prop.Subnet.Id) + parsedSubnetId, err := commonids.ParseSubnetID(prop.Subnet.Id) if err != nil { return err } - state.SubnetId = parsedSubnedId.ID() + state.SubnetId = parsedSubnetId.ID() } } } @@ -191,7 +191,7 @@ func (t AssociationResource) Update() sdk.ResourceFunc { return fmt.Errorf("parsing id %v", err) } - // Thought `AssociationSubnetUpdate` defined in the SDK contains the `subnetId`, while per testing the it can not be updated + // Thought `AssociationSubnetUpdate` defined in the SDK contains the `subnetId`, while per testing it can not be updated associationUpdate := associationsinterface.AssociationUpdate{} if metadata.ResourceData.HasChange("tags") {