mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Correctly update regional resource. (#1887)
This commit is contained in:
parent
085a05cefc
commit
f9f95e444d
@ -1192,7 +1192,8 @@ func resourceContainerClusterUpdate(d *schema.ResourceData, meta interface{}) er
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateF := func() error {
|
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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user