Skip to content

Commit

Permalink
missed path check in update
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofallops committed Aug 23, 2024
1 parent 4ceb802 commit 7d90cfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ func (r CognitiveDeploymentResource) Update() sdk.ResourceFunc {

properties := resp.Model

if metadata.ResourceData.HasChange("scale.0.capacity") {
if metadata.ResourceData.HasChange("sku.0.capacity") {
properties.Sku.Capacity = pointer.To(model.Sku[0].Capacity)
}

Expand Down

0 comments on commit 7d90cfd

Please sign in to comment.