Skip to content

Commit

Permalink
Fixes #2471.
Browse files Browse the repository at this point in the history
  • Loading branch information
gethvi committed Mar 4, 2024
1 parent 51500be commit 8651d75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion intelmq/lib/upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def v110_shadowserver_feednames(configuration, harmonization, dry_run, **kwargs)
if bot_id == 'global':
continue
if bot["module"] == "intelmq.bots.parsers.shadowserver.parser":
if bot["parameters"]["feedname"] in mapping:
feedname = bot.get("parameters", {}).get("feedname")
if feedname and feedname in mapping:
changed = True
bot["parameters"]["feedname"] = mapping[bot["parameters"]["feedname"]]

Expand Down

0 comments on commit 8651d75

Please sign in to comment.