Skip to content

Commit

Permalink
fixed bug updating events
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgottlieb committed Jan 25, 2024
1 parent 9f590dc commit 0c1ed37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/aws-iam-check-keys/find_stale_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def add_event_to_db(user, alert_type, access_key_num):

def update_event(event, alert_type):
if alert_type:
event_type = Event_Type.insert_event_type(alert_type)
event_type,_ = Event_Type.insert_event_type(alert_type)
event.event_type = event_type
event.cleared = False
event.save()
Expand Down

0 comments on commit 0c1ed37

Please sign in to comment.