From 4a603011c540f54a2feb6b828f75dc6b5cd4f384 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 1 Feb 2019 17:09:04 -0500 Subject: [PATCH] don't normalizeNullValues in ReadResource The required normalization now happens in PlanResourceChange, and this function is no longer appropriate for ReadResource. --- helper/plugin/grpc_provider.go | 1 - 1 file changed, 1 deletion(-) diff --git a/helper/plugin/grpc_provider.go b/helper/plugin/grpc_provider.go index da048489c4..ad1a95d733 100644 --- a/helper/plugin/grpc_provider.go +++ b/helper/plugin/grpc_provider.go @@ -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 {