From d7a03c8197ca8ae122bcbcde6626f4b7e99b0391 Mon Sep 17 00:00:00 2001 From: Mehrdad Afshari Date: Wed, 1 Nov 2017 18:01:26 -0700 Subject: [PATCH] Correct HEALTH_PROTO to REFLECTION_PROTO --- src/python/grpcio_reflection/reflection_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/python/grpcio_reflection/reflection_commands.py b/src/python/grpcio_reflection/reflection_commands.py index e2b1aa015bc..6f91f6b8751 100644 --- a/src/python/grpcio_reflection/reflection_commands.py +++ b/src/python/grpcio_reflection/reflection_commands.py @@ -19,7 +19,7 @@ import shutil import setuptools ROOT_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__))) -HEALTH_PROTO = os.path.join( +REFLECTION_PROTO = os.path.join( ROOT_DIR, '../../proto/grpc/reflection/v1alpha/reflection.proto') @@ -36,9 +36,9 @@ class CopyProtoModules(setuptools.Command): pass def run(self): - if os.path.isfile(HEALTH_PROTO): + if os.path.isfile(REFLECTION_PROTO): shutil.copyfile( - HEALTH_PROTO, + REFLECTION_PROTO, os.path.join(ROOT_DIR, 'grpc_reflection/v1alpha/reflection.proto'))