Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyeqf committed Nov 16, 2023
1 parent 8955992 commit 8138ad4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ func resourceLogAnalyticsClusterCustomerManagedKeyRead(d *pluginsdk.ResourceData
}
keyVaultKeyId = keyId.ID()

if kvProps.KeyRsaSize != nil {
d.Set("key_rsa_size", *kvProps.KeyRsaSize)
if v := kvProps.KeyRsaSize; v != nil {
d.Set("key_rsa_size", *v)

Check failure on line 234 in internal/services/loganalytics/log_analytics_cluster_customer_managed_key_resource.go

View workflow job for this annotation

GitHub Actions / tflint

R002: ResourceData.Set() pointer value dereference is extraneous
}

}
Expand Down

0 comments on commit 8138ad4

Please sign in to comment.