Improve project name conflict message
As suggested in patch: https://review.openstack.org/#/c/301418/ change project name conflict message from 'it is not permitted to have two projects within a domain with the same name' to 'it is not permitted to have two projects with the same name in the same domain'. Change-Id: I004a2399fdd54718ecb0679aa4269f3736761595
This commit is contained in:
@@ -203,7 +203,7 @@ class Manager(manager.Manager):
|
|||||||
) % project['name']
|
) % project['name']
|
||||||
else:
|
else:
|
||||||
return _('it is not permitted to have two projects '
|
return _('it is not permitted to have two projects '
|
||||||
'within a domain with the same name : %s'
|
'with the same name in the same domain : %s'
|
||||||
) % project['name']
|
) % project['name']
|
||||||
|
|
||||||
def create_project(self, project_id, project, initiator=None):
|
def create_project(self, project_id, project, initiator=None):
|
||||||
|
Reference in New Issue
Block a user