diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-09-21 17:09:03 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-09-21 17:09:03 +0800 |
commit | 2de8e160c31f3ecf951fb4e85a96aa1e814b0a33 (patch) | |
tree | 61cdb3cb53ceb5372e832d6c3951115fa669ebb5 /windriver/titanium_cloud/proxy/urls.py | |
parent | cecc352b211aa4d93751067b063bf9ea90021ca5 (diff) |
Fix url pattern error
Change-Id: Ic7aa3c1791482be38ee9debcedb52bbf57add96e
Issue-Id: MULTICLOUD-89
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/proxy/urls.py')
-rw-r--r-- | windriver/titanium_cloud/proxy/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windriver/titanium_cloud/proxy/urls.py b/windriver/titanium_cloud/proxy/urls.py index f848e76c..dbad26fa 100644 --- a/windriver/titanium_cloud/proxy/urls.py +++ b/windriver/titanium_cloud/proxy/urls.py @@ -25,7 +25,7 @@ urlpatterns = [ identityV3.Tokens.as_view()), url(r'^identity/(?:v2.0/|)tenants/?$', services.GetTenants.as_view()), - url(r'^(?P<servicetype>[0-9a-zA-Z_-]+)/(?P<requri>[0-9a-zA-Z./_-]*)$', + url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$', services.Services.as_view()), ] |