mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-03 01:01:06 +00:00
Fix nil pointer dereference updating project labels.
This commit is contained in:
parent
838296e155
commit
31bc09279d
@ -289,7 +289,7 @@ func resourceGoogleProjectUpdate(d *schema.ResourceData, meta interface{}) error
|
||||
// Do Update on project
|
||||
p, err = config.clientResourceManager.Projects.Update(p.ProjectId, p).Do()
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error updating project %q: %s", p.Name, err)
|
||||
return fmt.Errorf("Error updating project %q: %s", project_name, err)
|
||||
}
|
||||
}
|
||||
d.Partial(false)
|
||||
|
Loading…
Reference in New Issue
Block a user