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
1274
+
// 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
1275
+
// Explicitly check it's available and exit early if not.
1276
+
ifexprOptions.RecaptchaOptions==nil {
1277
+
returnnil
1278
+
}
1279
+
1280
+
// The API can return an explicit empty rule causing an issue: https://github.com/hashicorp/terraform-provider-google/issues/16882#issuecomment-2474528447
1281
+
// 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.
1275
1282
if (tpgresource.IsEmptyValue(reflect.ValueOf(exprOptions.RecaptchaOptions.ActionTokenSiteKeys)) &&
0 commit comments