aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_health_checking
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-27 09:39:53 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2018-12-27 09:39:53 -0800
commite678187996bb7239315f30d9e50734c50ee4027b (patch)
tree92e4e0f8d4f42de1c7e481cd8212c8400cac8973 /src/python/grpcio_health_checking
parentb74af8c70bad274c4955a0e242c725409872342d (diff)
use test constants, fix formatting
Diffstat (limited to 'src/python/grpcio_health_checking')
-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: