From 38351f6997e3b5dee1be18f457db02e0a1a21eef Mon Sep 17 00:00:00 2001 From: The Magician Date: Thu, 5 Aug 2021 18:00:06 -0500 Subject: [PATCH] Fix typo in spanner code (#5041) (#9734) Signed-off-by: Modular Magician --- .changelog/5041.txt | 2 ++ google/resource_spanner_instance.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changelog/5041.txt diff --git a/.changelog/5041.txt b/.changelog/5041.txt new file mode 100644 index 00000000000..e4e22fc1e47 --- /dev/null +++ b/.changelog/5041.txt @@ -0,0 +1,2 @@ +```release-note:none +``` diff --git a/google/resource_spanner_instance.go b/google/resource_spanner_instance.go index f295727c66f..714dfa97a7d 100644 --- a/google/resource_spanner_instance.go +++ b/google/resource_spanner_instance.go @@ -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 }