Skip to content

Commit

Permalink
Correctly update regional resource. (#1887)
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-henderson authored Aug 16, 2018
1 parent 085a05c commit f9f95e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion google/resource_container_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,8 @@ func resourceContainerClusterUpdate(d *schema.ResourceData, meta interface{}) er
}

updateF := func() error {
op, err := config.clientContainerBeta.Projects.Zones.Clusters.Update(project, location, clusterName, req).Do()
name := containerClusterFullName(project, location, clusterName)
op, err := config.clientContainerBeta.Projects.Locations.Clusters.Update(name, req).Do()
if err != nil {
return err
}
Expand Down

0 comments on commit f9f95e4

Please sign in to comment.