Skip to content

Commit

Permalink
Revised the if statement to check config_oids too
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnowzari committed Feb 26, 2025
1 parent a3bd8fe commit 5ca678d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,12 @@
" config_oid = source[\"configuration_oid\"]\n",
" domain_oid = source[\"domain_oid\"]\n",
"\n",
" # ensure the domain oid actually exists in our in-memory data structure\n",
" if domain_oid in inflight_configuration_data[config_oid][\"domains_temp\"]:\n",
" # ensure the config and domain oids actually exist in our in-memory data structure\n",
" if (\n",
" config_oid in inflight_configuration_data\n",
" and domain_oid in inflight_configuration_data[config_oid][\"domains_temp\"]\n",
" ):\n",
"\n",
" all_rules = source[\"rules\"]\n",
" all_url_filters = source[\"url_filters\"]\n",
"\n",
Expand Down

0 comments on commit 5ca678d

Please sign in to comment.