Skip to content

Commit

Permalink
Merge pull request #17 from Dome9/None-region-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RavidAtias authored Jul 25, 2019
2 parents 889bbe8 + 0608dd4 commit db6a5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dome9CloudBots/handle_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_data_from_message(message):
if entity:
data['entity_id'] = entity.get('id')
data['entity_name'] = entity.get('name')
data['region'] = entity.get('region')
data['region'] = entity.get('region', '')
data['region'] = data['region'].replace('_', '-')
if 'remediationActions' in message:
data['remediationActions'] = message['remediationActions']
Expand Down

0 comments on commit db6a5bd

Please sign in to comment.