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.
pull/28766/head
James Bardin 5 years ago
parent 7b38f9dd1d
commit aaaeeffa81

@ -399,7 +399,6 @@ func (n *NodeAbstractResourceInstance) planDestroy(ctx EvalContext, currentState
Before: cty.NullVal(cty.DynamicPseudoType),
After: cty.NullVal(cty.DynamicPseudoType),
},
Private: currentState.Private,
ProviderAddr: n.ResolvedProvider,
}
return noop, nil

Loading…
Cancel
Save