Specify what to do if endpoint map environment don't match

this attempts to make the error message more useful. This error message
happens if the environment files containing endpoint map overrides
haven't been updated to match the base endpoint map (or the defaults).

Change-Id: If53d3a9d7848aed62ebb235afe8b14c18d1b284d
This commit is contained in:
Juan Antonio Osorio Robles 2017-01-24 20:25:53 +02:00
parent 0c60ded964
commit 35e49d5cdd

View File

@ -196,8 +196,8 @@ if base_endpoint_map and \
matches = validate_endpoint_map(base_endpoint_map,
env_endpoint_map['map'])
if not matches:
print("ERROR: %s doesn't match base endpoint map" %
env_endpoint_map['file'])
print("ERROR: %s needs to be updated to match changes in base "
"endpoint map" % env_endpoint_map['file'])
failed_files.append(env_endpoint_map['file'])
exit_val |= 1
else: