Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bpschmitt committed Jun 6, 2024
1 parent c1c0920 commit 1ba9b45
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/recommendationservice/recommendation_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def check_feature_flag(flag_name: str):
# Logging
logger = logging.getLogger('main')
logger.setLevel(logging.INFO)

handler = logging.StreamHandler(sys.stdout)
handler.setLevel(logging.INFO)

Expand All @@ -188,4 +188,5 @@ def check_feature_flag(flag_name: str):
server.add_insecure_port(f'[::]:{port}')
server.start()
logger.info(f'Recommendation service started, listening on port {port}')
server.wait_for_termination()
server.wait_for_termination()

0 comments on commit 1ba9b45

Please sign in to comment.