aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2017-11-13 14:25:48 -0800
committerGravatar GitHub <noreply@github.com>2017-11-13 14:25:48 -0800
commite52772451a7bbf4f3f7b72cfc369781fd74a6930 (patch)
tree9fca60a7d0bccc591a02ef5995b985b0b801d40d /src/python
parent6d472b3eef62fcc15df82d5ff4bfa3ab436b5477 (diff)
parentd7a03c8197ca8ae122bcbcde6626f4b7e99b0391 (diff)
Merge pull request #13372 from mehrdada/minor-reflection-typo-fix
Correct HEALTH_PROTO to REFLECTION_PROTO
Diffstat (limited to 'src/python')
-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'))