Skip to content

Commit

Permalink
cleanup diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenziestarr committed Aug 7, 2019
1 parent 01ce85c commit 47b23d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions google/resource_bigtable_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ func resourceBigtableInstanceRead(d *schema.ResourceData, meta interface{}) erro
d.Set("project", project)

clusters := d.Get("cluster").([]interface{})

clusterState := []map[string]interface{}{}
for _, cl := range clusters {
cluster := cl.(map[string]interface{})
Expand All @@ -194,7 +193,6 @@ func resourceBigtableInstanceRead(d *schema.ResourceData, meta interface{}) erro
}

err = d.Set("cluster", clusterState)

if err != nil {
return fmt.Errorf("Error setting clusters in state: %s", err.Error())
}
Expand Down
2 changes: 0 additions & 2 deletions google/resource_bigtable_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ func testAccBigtableInstanceExists(n string, numNodes int) resource.TestCheckFun
return fmt.Errorf("Not found: %s", n)
}

fmt.Println(s)

if rs.Primary.ID == "" {
return fmt.Errorf("No ID is set")
}
Expand Down

0 comments on commit 47b23d9

Please sign in to comment.