From e916c4f1f25816e527a135b01398522824725e83 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Thu, 5 Aug 2021 22:59:55 +0000 Subject: [PATCH] Fix typo in spanner code (#5041) 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 }