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:
parent
a31cb5087e
commit
91587a49f3
|
@ -19,10 +19,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
|
||||||
"github.com/hashicorp/terraform/terraform"
|
"github.com/hashicorp/terraform/terraform"
|
||||||
"github.com/mitchellh/mapstructure"
|
"github.com/mitchellh/mapstructure"
|
||||||
"log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Schema is used to describe the structure of a value.
|
// 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
|
// If raw and reified are equal, this is a string and should
|
||||||
// be rejected.
|
// be rejected.
|
||||||
reified, reifiedOk := c.Get(k)
|
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) {
|
if reifiedOk && raw == reified && !c.IsComputed(k) {
|
||||||
return nil, []error{fmt.Errorf("%s: should be a map", k)}
|
return nil, []error{fmt.Errorf("%s: should be a map", k)}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue