aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_reflection
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2017-11-01 18:01:26 -0700
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-11-13 13:55:49 -0800
commitd7a03c8197ca8ae122bcbcde6626f4b7e99b0391 (patch)
tree9bf52f8431c1326645e052506d4f4587ff03d09f /src/python/grpcio_reflection
parent54e8f37e537794c2d814c1604c1282125f64f093 (diff)
Correct HEALTH_PROTO to REFLECTION_PROTO
Diffstat (limited to 'src/python/grpcio_reflection')
-rw-r--r--src/python/grpcio_reflection/reflection_commands.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/python/grpcio_reflection/reflection_commands.py b/src/python/grpcio_reflection/reflection_commands.py
index e2b1aa015b..6f91f6b875 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'))