Skip to content

Commit

Permalink
fix incorrect var assign (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
klashenriksson authored Oct 20, 2023
1 parent 0da9be7 commit b2a7bc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py/erupt/erupt/grpc_server_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ def build(self):

health_checker = None
if self._args.enable_health_checking:
# TODO: we gotta add tests that make sure the health checker runs as expected.
health_checker = health.HealthServicer()
health_pb2_grpc.add_HealthServicer_to_server(self._health_checker, server)
health_pb2_grpc.add_HealthServicer_to_server(health_checker, server)
service_names.append(health.SERVICE_NAME)

if self._args.enable_reflection:
# TODO: we should add tests for reflection as well.
logging.debug("Enabling reflection")
service_names.append(reflection.SERVICE_NAME)

Expand Down

0 comments on commit b2a7bc7

Please sign in to comment.