Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mentat-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
mentat-test
Commits
d6ba8ed2
Commit
d6ba8ed2
authored
2 years ago
by
Rajmund Hruška
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Create fallback network records of new groups. (Redmine issue:
#6227
)
parent
035d2f85
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/mentat/module/netmngr.py
+0
-3
0 additions, 3 deletions
lib/mentat/module/netmngr.py
with
0 additions
and
3 deletions
lib/mentat/module/netmngr.py
+
0
−
3
View file @
d6ba8ed2
...
@@ -508,9 +508,6 @@ class MentatNetmngrScript(mentat.script.fetcher.FetcherScript):
...
@@ -508,9 +508,6 @@ class MentatNetmngrScript(mentat.script.fetcher.FetcherScript):
checked_group_name
=
False
checked_group_name
=
False
for
network
in
[
network
for
networks
in
wi_file_data
[
group_name
].
values
()
for
network
in
networks
]:
for
network
in
[
network
for
networks
in
wi_file_data
[
group_name
].
values
()
for
network
in
networks
]:
# Do not create networks where fallback option is present.
if
'
emails_fallback
'
in
network
:
continue
# If there are multiple emails in this abuse group or lowest severity is not low then save
# If there are multiple emails in this abuse group or lowest severity is not low then save
# emails in the reporting settings. By default, if the group in the database doesn't have
# emails in the reporting settings. By default, if the group in the database doesn't have
# any emails set in the reporting settings then the name of the abuse group is used as
# any emails set in the reporting settings then the name of the abuse group is used as
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment