Merge pull request #29734 from hashicorp/jbardin/missing-change
Check for nil change during apply
This commit is contained in:
commit
ef8f1b3e38
|
@ -166,7 +166,7 @@ func (n *NodeDestroyResourceInstance) managedResourceExecute(ctx EvalContext) (d
|
|||
|
||||
changeApply, err = n.readDiff(ctx, providerSchema)
|
||||
diags = diags.Append(err)
|
||||
if diags.HasErrors() {
|
||||
if changeApply == nil || diags.HasErrors() {
|
||||
return diags
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue