Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Signed-off-by: ziyeqf <[email protected]>
  • Loading branch information
ziyeqf committed Oct 20, 2023
1 parent 1a1cdfd commit 5674fea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
}
Expand All @@ -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") {
Expand Down

0 comments on commit 5674fea

Please sign in to comment.