From 91587a49f3f33817398eaf4480b25e9a1ce44245 Mon Sep 17 00:00:00 2001 From: James Nugent Date: Tue, 7 Jun 2016 21:14:28 +0200 Subject: [PATCH] core: Remove unnecessary debug logging Some unnecessary debug logging was introduced in 7b6df27e4, this commit removes it so as not to clutter logs. --- helper/schema/schema.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/helper/schema/schema.go b/helper/schema/schema.go index 6062b47b9..703d17956 100644 --- a/helper/schema/schema.go +++ b/helper/schema/schema.go @@ -19,10 +19,8 @@ import ( "strconv" "strings" - "github.com/davecgh/go-spew/spew" "github.com/hashicorp/terraform/terraform" "github.com/mitchellh/mapstructure" - "log" ) // Schema is used to describe the structure of a value. @@ -1145,8 +1143,6 @@ func (m schemaMap) validateMap( // If raw and reified are equal, this is a string and should // be rejected. reified, reifiedOk := c.Get(k) - log.Printf("[jen20] reified: %s", spew.Sdump(reified)) - log.Printf("[jen20] raw: %s", spew.Sdump(raw)) if reifiedOk && raw == reified && !c.IsComputed(k) { return nil, []error{fmt.Errorf("%s: should be a map", k)} }