aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-02-01 23:09:03 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-02-01 23:09:03 +0200
commit2ca16240286cf0dd93bd6a0bd2e5a00cfe41ac82 (patch)
tree130faf6c1589797b683450aba8a903254c0933d2
parenta81ccd80db07571a8b094b905112935bc42b4b7f (diff)
Add more explicit messagae to build_endpoint_map's check option
This will hopefully help developers know what to do if their patch fails this verification. Change-Id: I01fe9ca30295c6264affdbdb773b039a744289ea
-rwxr-xr-xnetwork/endpoints/build_endpoint_map.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/endpoints/build_endpoint_map.py b/network/endpoints/build_endpoint_map.py
index 7e8088be..990cbabc 100755
--- a/network/endpoints/build_endpoint_map.py
+++ b/network/endpoints/build_endpoint_map.py
@@ -280,8 +280,9 @@ def main():
try:
if options.check:
if not check_up_to_date(options.output_file, options.input_file):
- print('EndpointMap template does not match input data',
- file=sys.stderr)
+ print('EndpointMap template does not match input data. Please '
+ 'run the build_endpoint_map.py tool to update the '
+ 'template.', file=sys.stderr)
sys.exit(2)
else:
build_endpoint_map(options.output_file, options.input_file)