Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
SollyzDev committed Mar 27, 2024
1 parent 03a3789 commit 4b0679b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def split_log_group(log_group: str):
parsed = pattern_obj.match(log_group)
if parsed is None:
return {
"serviceName": data_service_name
if data_service_name is not None
else "unknown",
"serviceName": (
data_service_name if data_service_name is not None else "unknown"
),
"logGroupName": log_group,
}

Expand Down

0 comments on commit 4b0679b

Please sign in to comment.