a noop change with no state has no private data
There is no change here to use the private data, and currentState may be nil.
This commit is contained in:
parent
7b38f9dd1d
commit
aaaeeffa81
|
@ -399,7 +399,6 @@ func (n *NodeAbstractResourceInstance) planDestroy(ctx EvalContext, currentState
|
||||||
Before: cty.NullVal(cty.DynamicPseudoType),
|
Before: cty.NullVal(cty.DynamicPseudoType),
|
||||||
After: cty.NullVal(cty.DynamicPseudoType),
|
After: cty.NullVal(cty.DynamicPseudoType),
|
||||||
},
|
},
|
||||||
Private: currentState.Private,
|
|
||||||
ProviderAddr: n.ResolvedProvider,
|
ProviderAddr: n.ResolvedProvider,
|
||||||
}
|
}
|
||||||
return noop, nil
|
return noop, nil
|
||||||
|
|
Loading…
Reference in New Issue