Merge "Correct the environment template clone error message"

This commit is contained in:
Zuul 2019-05-05 01:32:36 +00:00 committed by Gerrit Code Review
commit 543b7cb3ea
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class Controller(object):
env_template_id, request.context.tenant, body['name'],
is_public)
except db_exc.DBDuplicateEntry:
msg = _('Environment with specified name already exists')
msg = _('Env template with specified name already exists')
LOG.error(msg)
raise exc.HTTPConflict(explanation=msg)