Merge "Correct the environment template clone error message"
This commit is contained in:
commit
543b7cb3ea
|
@ -249,7 +249,7 @@ class Controller(object):
|
||||||
env_template_id, request.context.tenant, body['name'],
|
env_template_id, request.context.tenant, body['name'],
|
||||||
is_public)
|
is_public)
|
||||||
except db_exc.DBDuplicateEntry:
|
except db_exc.DBDuplicateEntry:
|
||||||
msg = _('Environment with specified name already exists')
|
msg = _('Env template with specified name already exists')
|
||||||
LOG.error(msg)
|
LOG.error(msg)
|
||||||
raise exc.HTTPConflict(explanation=msg)
|
raise exc.HTTPConflict(explanation=msg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue