From 8138ad4c49f1cb60b303e6b2d2f5496b7457522f Mon Sep 17 00:00:00 2001 From: ziyeqf <51212351+ziyeqf@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:52:25 +0800 Subject: [PATCH] lint --- .../log_analytics_cluster_customer_managed_key_resource.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/loganalytics/log_analytics_cluster_customer_managed_key_resource.go b/internal/services/loganalytics/log_analytics_cluster_customer_managed_key_resource.go index 8edf24a77391..659f902614da 100644 --- a/internal/services/loganalytics/log_analytics_cluster_customer_managed_key_resource.go +++ b/internal/services/loganalytics/log_analytics_cluster_customer_managed_key_resource.go @@ -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) } }