Skip to content

Commit

Permalink
remove explicit check for DEVELOPMENT instance in update method
Browse files Browse the repository at this point in the history
  • Loading branch information
mackenziestarr authored and rileykarson committed Aug 19, 2019
1 parent ab4f945 commit 084c294
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions third_party/terraform/resources/resource_bigtable_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@ func resourceBigtableInstanceUpdate(d *schema.ResourceData, meta interface{}) er
}
defer c.Close()

if d.Get("instance_type").(string) == "DEVELOPMENT" {
return resourceBigtableInstanceRead(d, meta)
}

clusters, err := c.Clusters(ctx, d.Get("name").(string))
if err != nil {
return fmt.Errorf("Error retrieving clusters for instance %s", err.Error())
Expand Down

0 comments on commit 084c294

Please sign in to comment.