From 603713ea12afa5fa31bee4f9581f43b32a02b681 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 12 Aug 2022 11:27:37 -0700 Subject: [PATCH] Fix stray Go 1.19.0 lint error (#6399) (#4588) Signed-off-by: Modular Magician Signed-off-by: Modular Magician --- .changelog/6399.txt | 2 ++ google-beta/resource_compute_instance.go | 1 + 2 files changed, 3 insertions(+) create mode 100644 .changelog/6399.txt diff --git a/.changelog/6399.txt b/.changelog/6399.txt new file mode 100644 index 0000000000..e4e22fc1e4 --- /dev/null +++ b/.changelog/6399.txt @@ -0,0 +1,2 @@ +```release-note:none +``` diff --git a/google-beta/resource_compute_instance.go b/google-beta/resource_compute_instance.go index c3539ce9c4..a571191114 100644 --- a/google-beta/resource_compute_instance.go +++ b/google-beta/resource_compute_instance.go @@ -2225,6 +2225,7 @@ func expandInstanceGuestAccelerators(d TerraformResourceData, config *Config) ([ // After reconciling the desired and actual state, we would otherwise see a // perpetual diff resembling: +// // [] != [{"count":0, "type": "nvidia-tesla-k80"}] func suppressEmptyGuestAcceleratorDiff(_ context.Context, d *schema.ResourceDiff, meta interface{}) error { oldi, newi := d.GetChange("guest_accelerator")