core: Remove unnecessary debug logging

Some unnecessary debug logging was introduced in 7b6df27e4, this commit
removes it so as not to clutter logs.
This commit is contained in:
James Nugent 2016-06-07 21:14:28 +02:00
parent a31cb5087e
commit 91587a49f3
1 changed files with 0 additions and 4 deletions

View File

@ -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)}
}