provider/google: remove debug spew statement

This commit is contained in:
clint shryock 2016-09-27 17:00:59 -05:00 committed by Clint
parent 376f0827a3
commit 2c7d4faf53
1 changed files with 0 additions and 3 deletions

View File

@ -4,7 +4,6 @@ import (
"fmt"
"log"
"github.com/davecgh/go-spew/spew"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/helper/schema"
@ -487,7 +486,6 @@ func resourceSqlDatabaseInstanceCreate(d *schema.ResourceData, meta interface{})
instance.MasterInstanceName = v.(string)
}
log.Printf("[PAUL] INSERT: %s", spew.Sdump(project, instance))
op, err := config.clientSqlAdmin.Instances.Insert(project, instance).Do()
if err != nil {
if gerr, ok := err.(*googleapi.Error); ok && gerr.Code == 409 {
@ -996,7 +994,6 @@ func resourceSqlDatabaseInstanceUpdate(d *schema.ResourceData, meta interface{})
d.Partial(false)
log.Printf("[PAUL] UPDATE: %s", spew.Sdump(project, instance.Name, instance))
op, err := config.clientSqlAdmin.Instances.Update(project, instance.Name, instance).Do()
if err != nil {
return fmt.Errorf("Error, failed to update instance %s: %s", instance.Name, err)