Skip to content

Commit

Permalink
Fix typo in spanner code (#5041) (#9734)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 5, 2021
1 parent 8567b91 commit 38351f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changelog/5041.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
2 changes: 1 addition & 1 deletion google/resource_spanner_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ func expandSpannerInstanceLabels(v interface{}, d TerraformResourceData, config
}

func resourceSpannerInstanceEncoder(d *schema.ResourceData, meta interface{}, obj map[string]interface{}) (map[string]interface{}, error) {
// Temp Logic to accomodate processing_units and num_nodes
// Temp Logic to accommodate processing_units and num_nodes
if obj["processingUnits"] == nil && obj["nodeCount"] == nil {
obj["nodeCount"] = 1
}
Expand Down

0 comments on commit 38351f6

Please sign in to comment.