mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-22 22:28:50 +00:00
Fix query to get he existing proxy (#2791)
This commit is contained in:
@ -305,8 +305,7 @@ EventTypeMap = {
|
||||
|
||||
|
||||
def get_event_type(event: Event) -> EventType:
|
||||
|
||||
for (event_type, event_class) in EventTypeMap.items():
|
||||
for event_type, event_class in EventTypeMap.items():
|
||||
if isinstance(event, event_class):
|
||||
return event_type
|
||||
|
||||
|
Reference in New Issue
Block a user