aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_health_checking/grpc_health/v1/health.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/grpcio_health_checking/grpc_health/v1/health.py')
-rw-r--r--src/python/grpcio_health_checking/grpc_health/v1/health.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/python/grpcio_health_checking/grpc_health/v1/health.py b/src/python/grpcio_health_checking/grpc_health/v1/health.py
index 75c480b0a7..0a5bbb5504 100644
--- a/src/python/grpcio_health_checking/grpc_health/v1/health.py
+++ b/src/python/grpcio_health_checking/grpc_health/v1/health.py
@@ -102,11 +102,11 @@ class HealthServicer(_health_pb2_grpc.HealthServicer):
def set(self, service, status):
"""Sets the status of a service.
- Args:
- service: string, the name of the service. NOTE, '' must be set.
- status: HealthCheckResponse.status enum value indicating the status of
- the service
- """
+ Args:
+ service: string, the name of the service. NOTE, '' must be set.
+ status: HealthCheckResponse.status enum value indicating the status of
+ the service
+ """
with self._lock:
self._server_status[service] = status
if service in self._watchers: