Skip to content

Commit

Permalink
Fix stray Go 1.19.0 lint error (GoogleCloudPlatform#6399)
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and hao-nan-li committed Aug 31, 2022
1 parent c904dc6 commit 21db660
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2239,6 +2239,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 21db660

Please sign in to comment.