Skip to content

Commit

Permalink
Fix stray Go 1.19.0 lint error (#6399) (#4588)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 12, 2022
1 parent 0fbf4cc commit 603713e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changelog/6399.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
1 change: 1 addition & 0 deletions google-beta/resource_compute_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 603713e

Please sign in to comment.