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.
This commit is contained in:
Martin Atkins 2018-05-16 08:10:24 -07:00
parent 01a19e18ea
commit 5281afcc07
1 changed files with 1 additions and 0 deletions

View File

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