don't normalizeNullValues in ReadResource

The required normalization now happens in PlanResourceChange, and this
function is no longer appropriate for ReadResource.
pull/20224/head
James Bardin 7 years ago
parent 89c1ba099f
commit 4a603011c5

@ -454,7 +454,6 @@ func (s *GRPCProviderServer) ReadResource(_ context.Context, req *proto.ReadReso
}
newStateVal = copyTimeoutValues(newStateVal, stateVal)
newStateVal = normalizeNullValues(newStateVal, stateVal, false)
newStateMP, err := msgpack.Marshal(newStateVal, block.ImpliedType())
if err != nil {

Loading…
Cancel
Save