diff options
author | Eric Gribkoff <ericgribkoff@google.com> | 2018-12-27 09:39:53 -0800 |
---|---|---|
committer | Eric Gribkoff <ericgribkoff@google.com> | 2018-12-27 09:39:53 -0800 |
commit | e678187996bb7239315f30d9e50734c50ee4027b (patch) | |
tree | 92e4e0f8d4f42de1c7e481cd8212c8400cac8973 /src/python/grpcio_health_checking | |
parent | b74af8c70bad274c4955a0e242c725409872342d (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.py | 10 |
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: |