Skip to content

Commit

Permalink
Updated service_map location
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan committed Dec 3, 2024
1 parent cc21577 commit 1e522ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifications_utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def get_handler(app):

class AppNameFilter(logging.Filter):
def __init__(self, app_name):
self.service = AppNameFilter.service_map.get(app_name, 'test')
self.service = _service_map.get(app_name, 'test')

def filter(self, record):
record.application = self.service
Expand Down

0 comments on commit 1e522ac

Please sign in to comment.