core: Actually read provider schema for data resources

We were passing the pointer into EvalReadDataDiff here, but because it was
not also passed to EvalGetProvider it was just always nil.
pull/19086/head
Martin Atkins 8 years ago
parent 01a19e18ea
commit 5281afcc07

@ -161,6 +161,7 @@ func (n *NodeRefreshableDataResourceInstance) EvalTree() EvalNode {
&EvalGetProvider{
Addr: n.ResolvedProvider,
Output: &provider,
Schema: &providerSchema,
},
&EvalReadDataDiff{

Loading…
Cancel
Save