From 19e7599de5e37567b8f122e3981c9dcf7ff0e252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Fern=C3=A1ndez?= Date: Thu, 14 Nov 2024 18:07:20 -0300 Subject: [PATCH] `Fix golang lint --- internal/services/appservice/helpers/auth_v2_schema.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/appservice/helpers/auth_v2_schema.go b/internal/services/appservice/helpers/auth_v2_schema.go index 1a5744a1ee62..7289375d06ee 100644 --- a/internal/services/appservice/helpers/auth_v2_schema.go +++ b/internal/services/appservice/helpers/auth_v2_schema.go @@ -1336,8 +1336,8 @@ func expandCustomOIDCAuthV2Settings(input []CustomOIDCAuthV2Settings) map[string continue } - // For backward compatibility, stablish the generated name is the incomming value is empty - clientSecretSettingName := "" + // For backward compatibility, stablish the generated name if the incomming value is empty + var clientSecretSettingName string if clientSecretSettingName = v.ClientSecretSettingName; clientSecretSettingName == "" { clientSecretSettingName = fmt.Sprintf("%s_PROVIDER_AUTHENTICATION_SECRET", strings.ToUpper(v.Name)) }