Keystone project role REST is broken

There is an extra white space in the REST url making it impossible to reach
the endpoint. Removing the white space will fix this issue.

Change-Id: Ic49d3821c0bc266a13522723323bda74a27f0389
Closes-Bug: #1479551
This commit is contained in:
Thai Tran 2015-07-29 16:20:34 -07:00
parent 0ecb80363f
commit ecdad15800

View File

@ -506,7 +506,7 @@ class Project(generic.View):
@urls.register
class ProjectRole(generic.View):
url_regex = r'keystone/projects/(?P<project_id>[0-9a-f]+)/' \
' (?P<role_id>[0-9a-f]+)/(?P<user_id>[0-9a-f]+)$'
'(?P<role_id>[0-9a-f]+)/(?P<user_id>[0-9a-f]+)$'
@rest_utils.ajax()
def put(self, request, project_id, role_id, user_id):