From 3ec93710fcc2e9f214f3692b94957583380acd42 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Mon, 8 Apr 2019 17:12:39 -0400 Subject: [PATCH] PromoteSingle is used in 0.11 mode --- helper/schema/shims.go | 1 - 1 file changed, 1 deletion(-) diff --git a/helper/schema/shims.go b/helper/schema/shims.go index eccd4eb18a..4099d82d4b 100644 --- a/helper/schema/shims.go +++ b/helper/schema/shims.go @@ -119,7 +119,6 @@ func LegacySchema(s *Schema) *Schema { newSchema := new(Schema) *newSchema = *s newSchema.ConfigMode = SchemaConfigModeAuto - newSchema.PromoteSingle = false newSchema.SkipCoreTypeCheck = false switch e := newSchema.Elem.(type) {