You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We check if the API is returning a empty non-null value then we find the current value for this field in the rule config and check if its empty
1377
+
// The API can return an explicit entry `exprOptions` object, causing evaluation of the `recaptcha_options` settings to fail as it's nil: https://github.com/hashicorp/terraform-provider-google/issues/24334
1378
+
// Explicitly check it's available and exit early if not.
1379
+
ifexprOptions.RecaptchaOptions==nil {
1380
+
returnnil
1381
+
}
1382
+
1383
+
// The API can return an explicit empty rule causing an issue: https://github.com/hashicorp/terraform-provider-google/issues/16882#issuecomment-2474528447
1384
+
// We check if the API is returning a empty non-null value then we find the current value for this field in the rule config and check if its empty.
1378
1385
if (tpgresource.IsEmptyValue(reflect.ValueOf(exprOptions.RecaptchaOptions.ActionTokenSiteKeys)) &&
0 commit comments