From adebc65d95d3fcc4f9060d0f478410c2f9b67594 Mon Sep 17 00:00:00 2001 From: Alex Somesan Date: Wed, 27 Mar 2019 20:10:46 +0100 Subject: [PATCH] Document that ValidateFunc works on maps. --- helper/schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/schema/schema.go b/helper/schema/schema.go index 15a82e7f76..041ee8fd1f 100644 --- a/helper/schema/schema.go +++ b/helper/schema/schema.go @@ -279,7 +279,7 @@ type Schema struct { // guaranteed to be of the proper Schema type, and it can yield warnings or // errors based on inspection of that value. // - // ValidateFunc currently only works for primitive types. + // ValidateFunc currently only works for primitive types and maps. ValidateFunc SchemaValidateFunc // Sensitive ensures that the attribute's value does not get displayed in