Skip to content

Commit

Permalink
fixed a typo (#5170) (#10011)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Sep 3, 2021
1 parent 03cd73c commit e07231a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/5170.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
functions: fixed a error message on `google_cloudfunctions_function`
```
2 changes: 1 addition & 1 deletion google/resource_cloudfunctions_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ func resourceCloudFunctionsUpdate(d *schema.ResourceData, meta interface{}) erro
d.Timeout(schema.TimeoutUpdate))
}, d.Timeout(schema.TimeoutUpdate))
if rerr != nil {
return fmt.Errorf("Error while updating cloudfunction configuration: %s", err)
return fmt.Errorf("Error while updating cloudfunction configuration: %s", rerr)
}
}
d.Partial(false)
Expand Down

0 comments on commit e07231a

Please sign in to comment.